On 2017-10-05, at 13:10, Jonathan Scott wrote: > ... > The problems with built-in functions in logical expressions is > related to the way in which these expressions are processed. > Logical expressions can contain terms which are arithmetic or > character expressions, and character expressions can in turn > contain inner arithmetic expressions, for example for substrings > or array subscripts. Before built-in functions, these were the > only combinations, so there was no support for mixed expression > types except the above specific cases. In particular, it was > never necessary to handle a character expression nested within an > arithmetic expression. > ... Rexx did it right. Alas, too late for other languages to learn from its example.
-- gil
