buzap
11-19-2009, 09:51 AM
Hi Jeff
in some scripts, I see if mode == reset in others it's if mode = reset .
What is the recommended way of handling this?
While we're at it: Are more complex if statements possible, sort of like
if (mode = reset) AND (saveParameter = 1) ?
And still while we're at it, is there an intelligent way to do this:
case i of
0: #step 0
1: #step 1
2: #step 2
I mean, more intelligent than this workaround:
if i = 0
#step 0
else
if i = 1
#step 1
else
if i = 2
#step 2
endif
endif
endif
best regards
Buzap
in some scripts, I see if mode == reset in others it's if mode = reset .
What is the recommended way of handling this?
While we're at it: Are more complex if statements possible, sort of like
if (mode = reset) AND (saveParameter = 1) ?
And still while we're at it, is there an intelligent way to do this:
case i of
0: #step 0
1: #step 1
2: #step 2
I mean, more intelligent than this workaround:
if i = 0
#step 0
else
if i = 1
#step 1
else
if i = 2
#step 2
endif
endif
endif
best regards
Buzap