|
rtatum Novice
Joined: 19 Sep 2004 Posts: 45 Location: Houston
|
Posted: Tue Sep 21, 2004 12:25 am
Help with #IF |
When you're using #IF, can you check multiple things...? Like... #IF (@variable1 == 2342 & @variable2 == 1111) {Then do stuff}
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Tue Sep 21, 2004 12:31 am |
Yes you can. See the help on Expressions for more info. Generally I reccommend placing each comparison in parenthesis to insure the order of operation is exactly what you want. For example:
#IF ((@variable1 == 2342) & (@variable2 == 1111)) {Then do stuff} |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
rtatum Novice
Joined: 19 Sep 2004 Posts: 45 Location: Houston
|
Posted: Tue Sep 21, 2004 12:35 am |
Thank you very much Vijilante
|
|
|
|
|
|