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 -- 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 NEW! GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8