Log in

View Full Version : if statement help



traveler
09-04-2010, 11:55 PM
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
09-05-2010, 12:14 AM
if (not (i = 4)) then

or

if i <> 4 then
:)

traveler
09-05-2010, 12:19 AM
thank you sir.