Be aware that the REXX interpreter always evaluates the complete IF condition!
Example:
i = 0 if i = 1 & myFunc() then ...
In this example the REXX interpreter executes the function myFunc() even if the first part of the condition is already false!