Posted By: Ericmor
Simple wdl to C-script negation conditional - 05/16/11 20:09
Hi people,
Having trouble to find a working example of negation conditional in the manual.
A flag conditional code is translated from wdl to lite-C the following way...
Is writen this way in Lite-C:
Now, how i translate the following wdl code?
I really couldnīt find this one. Sorry for the stupid question... any help is appreciated.
Thanks in advance.
Having trouble to find a working example of negation conditional in the manual.
A flag conditional code is translated from wdl to lite-C the following way...
Code:
//c-script if(my.flag1==1) { my.flag4=1; my.flag1=0; }
Is writen this way in Lite-C:
Code:
//lite-C if is(my,FLAG1) { set(my,flag4); reset(my,FLAG1); }
Now, how i translate the following wdl code?
Code:
//C-script var variable_test; if(my.flag1==0) { variable_test=my.FLAG1; }
I really couldnīt find this one. Sorry for the stupid question... any help is appreciated.
Thanks in advance.