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
DateCode: Select all
ExamineDirectoryCode: Select all
ReadPreferenceDouble
ReadPreferenceFloat
ReadPreferenceInteger
ReadPreferenceLong
ReadPreferenceQuad
ReadPreferenceStringCode: Select all
CreateThreadCode: Select all
FontRequesterCode: Select all
InputRequesterCode: Select all
OpenFileRequester
SaveFileRequester



