BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

$If() Conditions

Go down

$If() Conditions Empty $If() Conditions

Post by velaro Tue Aug 23, 2011 4:56 pm

I've been experimenting with $If() / $Else / $EndIf() statements, and conditions such as

$If($(sub(1))

work just fine. But I'd really like to use conditions in which a variable is compared to a value or another variable, such as

$If($sub(1)=5)
$If($sub(1)>$sub(2))

Is that possible? If so, what is the correct syntax?
velaro
velaro

Posts : 23
Join date : 2011-08-02
Age : 48
Location : Reutlingen, Germany

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum