- Jun
- 59
- 0
This
iff cond then
text
...
endtext
endiff
works as expected.
But this
if cond text
...
endtext
works fine if the condition is true. If it is false, then things go haywire and as far as I can tell subsequent batch lines are swallowed (not executed) until a return (this was in a subroutine).
iff cond then
text
...
endtext
endiff
works as expected.
But this
if cond text
...
endtext
works fine if the condition is true. If it is false, then things go haywire and as far as I can tell subsequent batch lines are swallowed (not executed) until a return (this was in a subroutine).