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.