Peter N Lewis wrote:
IP Pascal uses: reference(x);
Which is straightforward. Reference is a built-in that sets the variable as referenced.
Nice. I'm happy with that as a GPC solution (it looks similar to what Frank was after, and we might as well be compatible with something as make up something new).
We might. But I'm still unsure, if it looks reasonable when used for ignoring function results (that's why I asked Scott whether he uses it for that purpose as well). Would `Reference (MyFunc (a, b, c))' seem clear as to what it'd mean?
(And if we do, should we add an `--ip-pascal' option and otherwise say `Reference is a feature of IP Pascal' ...? ;-)
Frank