Archive: The "if" command


28th August 2002 02:07 UTC

The "if" command
can someone create a !!very!! small tutorial about the "if" command?

it seems similar to the C++ one; but i am still learning that language

the expression help just doesnt cut it for me

i need "AVS 4 dummys"[sic] :D


28th August 2002 05:20 UTC

variable = if( expression != 0 , value1 , value2 );

if the expression is true (not 0) variablr gets velue1, otherwise it gets value2.

It work like the ? operator in C. (if I remember it right)


28th August 2002 23:02 UTC

doh!
ohhhhhhhhh


expression

not equation

doh!


30th August 2002 19:59 UTC

I've recently updated my site and it has a tutorial on logic. Go check it out.