View Single Post
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old October 16th, 2017, 06:21 AM
For AND
Code:
if (delta > 3) then
  if (delta <=6) then
    ~ do stuff
    endif
  endif
For OR (can result in duplication if doing "do stuff" twice has different effects than running it once)
Code:
if (delta = 3) then
  ~ do stuff
  endif

if (delta =6) then
  ~ do stuff
  endif
Alternately, if you can turn it into a tag check (including a tag value check), things get more flexible.
Duggan is offline   #5 Reply With Quote