No, I still use the stupid way: function stuff: integer; begin stuff := 0 end; To me the idea is, parameters can be safely ignored (there is also a "reference check off" switch /nrf or /norefer, but that affects the entire program). Functions always return *something*, so you might as well specify what it is, even for a dummy function. Otherwise, you are asking the compiler to guess for you. Probally the bottom line is that its a lot less trouble than pinning down all those parameters. To come clean, I use the /norefer flag a lot on new code. Hey, I'm lazy. On the other hand, my previous compiler (SVS 386 Pascal) either didn't do reference checking, or I didn't have it on, and I found my code littered with excess variables when I moved to IP Pascal. Frank Heckenbach wrote:
I basically agree. Can your `reference' also be used to throw away unwanted function results, or is it only for variables?
Frank
-- 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.