Erstad@HI-MULTICS.ARPA (08/04/86)
Regarding the PASCAL evaluation with "guards" on the IF clauses. Standard PASCAL (If there is such a beast) does not guarantee order of evalutaion. Any code which relies upon order of evaluation to work is certainly non-portable. DOMAIN Pascal does provide a solution: Use the IF x and then Y then construct. This aloso, of course, is non-portable. If you want portable, robust code the only option is to use the nested iff type of thing. Messy, but guaranteed.