E exile666 macrumors newbie Original poster Mar 28, 2010 1 0 Mar 28, 2010 #1 i need help. is there a way to put an if statement in variable? is seem simple but when i try "set variable to (if statement)" please help?
i need help. is there a way to put an if statement in variable? is seem simple but when i try "set variable to (if statement)" please help?
L larkost macrumors 6502a Oct 13, 2007 534 1 Mar 28, 2010 #2 No, you have to go the other way around: Code: if <test statement> then set <my variable> to <my value> else set <my variable> to <my other value> end if
No, you have to go the other way around: Code: if <test statement> then set <my variable> to <my value> else set <my variable> to <my other value> end if