SRL Archive - Help

if statement help


traveler

2010-09-04 19:55:06

in if statements u can have them ask if something is equal to something, like if(i=4). but is there anyway to see if one variable doesnt not equal another variable.

For example, if i was doing this in C++ is would do if( i != 4). is there such a command in scar or even simba that does the exact same thing as '!='?

NCDS

2010-09-04 20:14:26

if (not (i = 4)) then

or

if i <> 4 then
:)

traveler

2010-09-04 20:19:59

thank you sir.