
Over the years, many mandatory parameters have become optional, where it makes sense.
Here are some common functions with parameters that (I believe) could be made optional! (Usually default to 0 or "").
This would not be a functional change. Just a change for cleaner code. Feel free to suggest more!
EDIT: This is about just converting mandatory parameters to optional.
Not to be confused with this other active thread about leaving parameters in the middle of the list empty when calling, to use their defaults:
http://www.purebasic.fr/english/viewtop ... =3&t=60551
Code: Select all
Date
Code: Select all
ExamineDirectory
Code: Select all
ReadPreferenceDouble
ReadPreferenceFloat
ReadPreferenceInteger
ReadPreferenceLong
ReadPreferenceQuad
ReadPreferenceString
Code: Select all
CreateThread
Code: Select all
FontRequester
Code: Select all
InputRequester
Code: Select all
OpenFileRequester
SaveFileRequester