CBFalconer wrote:
Frank Heckenbach wrote:
... snip ...
It seems like BP does context-dependent parsing, treating the function-identifier differently in "lvalues" and "rvalues". The
As has every Pascal compiler known to me since J&W. This is part of the original language specification and of ISO7185,
ISO contains a special provision for using the function-identifier as the target of an assignment-statement, not in arbitrary "lvalue" contexts. As I said, AFAICS, the `f^' in my demo program must be a recursive call according to ISO, even though `f^' is an lvalue.
while use of 'result' is not.
I didn't talk about `Result' at all. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707