Posts: 1,495
Threads: 131
Joined: Jul 2009
Reputation:
0
don't use "strval(tmp)" for that..
strval returns a value / number / integer (1, 2, 3, 4, ................., 10450239 - ya know?^^)...
use:
if(!strcmp(tmp, "f", true)) << set it to "false" if you want it to detect "f" only and not "f" and "F"
hope that helped^^
This forum requires that you wait 120 seconds between posts. Please try again in 26 seconds.
Posts: 308
Threads: 109
Joined: Oct 2010
Reputation:
0
[QUOTE=Sascha;1192561]don't use "strval(tmp)" for that..
strval returns a value / number / integer (1, 2, 3, 4, ................., 10450239 - ya know?^^)...
use:
if(!strcmp(tmp, "f", true)) << set it to "false" if you want it to detect "f" only and not "f" and "F"
hope that helped^^
This forum requires that you wait 120 seconds between posts. Please try again in 26 seconds.[/ QUOTE]
thx!!! i'll try it... if i'll have any problems i will post them here...