Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

exile666

macrumors newbie
Original poster
Mar 28, 2010
1
0
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?
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.