Default Function Variable?
#1

According to Pawno, functions aren't allowed to have default values.. wtf?

Code:
public iniGetString(filename[], key[], sectioned = 0, section[]
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.
Reply


Messages In This Thread
Default Function Variable? - by Deji - 15.05.2010, 00:03
Re: Default Function Variable? - by Deji - 15.05.2010, 00:36
Re: Default Function Variable? - by Nero_3D - 15.05.2010, 01:06
Re: Default Function Variable? - by Deji - 15.05.2010, 01:07
Re: Default Function Variable? - by Kyosaur - 15.05.2010, 01:13

Forum Jump:


Users browsing this thread: 1 Guest(s)