14.05.2020, 16:10
Help. I don't understand why the id var is always 101 no matter what number I pass to it.
Output:
PHP Code:
new id;
new text;
new param[64 + 1];
param = "1 Texttext. Texttext text. Texttext.";
sscanf(param, "us[65]", id, text);
printf("params = %s", param);
printf("id = %d", id);
printf("text = %s", text);
Code:
params = 1 Texttext. Texttext text. Texttext. id = 101 text = Texttext. Texttext text. Texttext.