params inside of a param
#7

Quote:

if(sscanf(params, "s[9]I", szOption))

Quote:

if(sscanf(params, "{s[9]}i", iMinutes))

Why you do this?
the string shouldn't be "start" "stop" and "postpone"?
You must specify the variables to store the 2 parameters.
Anyway wouldn't be much better using only once sscanf function and the use the string array and the time variable in the function instead of recalling sscanf each time?
Reply


Messages In This Thread
params inside of a param - by Scenario - 12.12.2011, 20:30
Re: params inside of a param - by Scenario - 12.12.2011, 22:08
Re: params inside of a param - by vital2k - 12.12.2011, 22:12
Re: params inside of a param - by Scenario - 12.12.2011, 22:16
Re: params inside of a param - by Scenario - 12.12.2011, 22:49
Re: params inside of a param - by Scenario - 12.12.2011, 23:18
Re: params inside of a param - by Phanto90 - 12.12.2011, 23:42
Re: params inside of a param - by Scenario - 13.12.2011, 00:31
Re: params inside of a param - by Scenario - 13.12.2011, 11:10

Forum Jump:


Users browsing this thread: 2 Guest(s)