CBFalconer wrote:
Peter N Lewis wrote:
... snip ...
BTW, what do you do with unwanted function results in MW? Does `{$unused}' also apply there?
No. {$unused(x,y,z)} accepts variable names only.
MW Pascal has no solution for throwing away unwanted results.
The standard Pascal solution is to define a variable named 'junk' (or whatever else floats your boat) and put all such items there.
This was already mentioned. It's what I'm doing now. The disadvantage is that you need one such variable for each type and in each routine (making them global would defeat optimization quite a bit).
Frank