[fpc-pascal] Ignoring function results
Bart
bartjunk64 at gmail.com
Sat May 20 14:16:15 CEST 2017
On 5/20/17, Mark Morgan Lloyd <markMLl.fpc-pascal at telemetry.co.uk> wrote:
> According to the Programmer's Guide 1.3.41, {$EXTENDEDSYNTAX OFF} has
> the effect of permitting the result of a function to be ignored.
Isn't that just the other way around?
"Extended syntax allows you to drop the result of a function. This
means that you can use a function call as if it were a procedure.
By default this feature is on. You can switch it off using the {$X-}
or {$EXTENDEDSYNTAX OFF}directive."
Bart
More information about the fpc-pascal
mailing list