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, while use of 'result' is not.
The var on the left side of an assignment is context dependent. What else ?
Wirth described the var exception to strict syntax (and not sematic) based processing and noted that it was unavoidable, but seemed pround that he had got the number of such dependencies down to 1.
Context dependencies, as I am sure you gentleman know, are rampant in other langauges, notably C.