[fpc-pascal] Compiler option to check return value ignorance
leledumbo
leledumbo_cool at yahoo.co.id
Wed Aug 13 12:53:08 CEST 2008
Vinzent Höfler wrote:
>
> Yes. Turn Extended Syntax off {$X-}, then a function result must be
> assigned to a variable. At least it used to be that way.
> ...
> so "inherited Create" did not compile anymore (and I remember that any
> attempt to assign this "result" to a dummy variable even failed). So, at
> that time I turned the extended syntax stuff back on.
>
So, if I don't use any classes, turning Extended Syntax Off would be OK?
What's activated by this Extended Syntax anyway? Any document/article about
it?
--
View this message in context: http://www.nabble.com/Compiler-option-to-check-return-value-ignorance-tp18958911p18960807.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list