geosmith Wanderer
Joined: 23 Apr 2005 Posts: 57
|
Posted: Mon Aug 01, 2005 9:34 am
#IF Question |
Been making quite extensive use of #IF, with true and false responses along the lines of...
#IF (@variable=1) {do this} {else do this}
Pretty simple stuff, but embedding a chain of those usually achieves the desired result.
However, is it possible to use #IF to check the state of -two- variables and only return a "true" result if both equal the specified value?
Presumably it would be something along the lines of...
#if (@variable1=1) and (@variable2=1) {do this} {else do this}
... but how would I actually write the "and" bit in the middle?
Any advice would be appreciated. |
|