08-05-2008, 08:42 PM
if(a!b) ;;if a is not equal b
if(!a) ;;if a is 0
a and b can be variables or functions or other expressions. For example
if(!somefunction(1 2 3)) ;;if somefunction returns 0
More examples:
if(a) ;;if a is not 0
if(somefunction(1 2 3)) ;;if somefunction returns not 0
if(!a) ;;if a is 0
a and b can be variables or functions or other expressions. For example
if(!somefunction(1 2 3)) ;;if somefunction returns 0
More examples:
if(a) ;;if a is not 0
if(somefunction(1 2 3)) ;;if somefunction returns not 0