Frank Heckenbach wrote:
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
Too scary to be a joke ! -- Samiam is Scott A. Moore Personal web site: http:/www.moorecad.com/scott My electronics engineering consulting site: http://www.moorecad.com ISO 7185 Standard Pascal web site: http://www.moorecad.com/standardpascal Classic Basic Games web site: http://www.moorecad.com/classicbasic The IP Pascal web site, a high performance, highly portable ISO 7185 Pascal compiler system: http://www.moorecad.com/ippas Good does not always win. But good is more patient.