Nico Arag�n wrote:
> IIRC, any non-zero value is evaluated as "True" for a Boolean variable.
You should not guess about any implementation. Forcing out-of-range
values into strictly typed variables is a user bug, at the full risk of
(and shame on) that user.
Who's to blame when somebody applies FillChar on a pointer variable, and
the program consequently crashes?
> else
> WriteLn('Other');
This better should read:
WriteLn('corrupt data space!!!'); Panic;
DoDi
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel