the c_ignore's parameters is integer in fact?

Posted By: tzw

the c_ignore's parameters is integer in fact? - 09/03/11 11:05

i use engine SDK vsiual studio cpp 2010, my codes like this:
c_ignore(_VAR(1),_VAR(0));
c_trace(XXXXXXX);
it didn't return a correct result.
but when i simplly use:
c_ignore(1,0);
c_trace(XXXXXXXX);
it's work fine.
so is the c_ignore parameters is integer in fact?
Posted By: jcl

Re: the c_ignore's parameters is integer in fact? - 09/05/11 08:00

No, it's var, but your first line didn't work because the group must be higher than 1 - this restriction will be removed in the next update, as I see no reason for it. Your second call worked only because some functions, including c_ignore, can automatically detect if they get var or int parameters.
© 2024 lite-C Forums