sscanf bug?
#1

Not correctly ID extracted.
TAB Players:

SSCANF Code (in dialog response):
Код HTML:
new ID;
sscanf(inputtext,"u",ID);
printf("d: %s, %d", inputtext, ID);
.LOG:
Код HTML:
[10:57:45] d: Test (0), 0
[10:57:46] d: Test. (1), 0
INCORRECT!

CORRECT:
d: Test (0), 0 => ID: 0 with 0
d: Test. (1), 1 => ID: 1 with 1
Reply


Messages In This Thread
sscanf bug? - by Spenker - 05.10.2016, 18:05
Re: sscanf bug? - by Spenker - 05.10.2016, 20:25
Re: sscanf bug? - by Yaa - 05.10.2016, 20:39
Re: sscanf bug? - by Sanady - 05.10.2016, 21:19

Forum Jump:


Users browsing this thread: 2 Guest(s)