15.05.2010, 00:03
According to Pawno, functions aren't allowed to have default values.. wtf?
To me, that's really stupid. Anyone know another way of doing this? I want the last 2 parameters to be excludable when calling the function. If "sectioned" is excluded, then it will default to 0... From there I can configure the code to not use sections when searching for ini file values.
Code:
public iniGetString(filename[], key[], sectioned = 0, section[]