Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{$mode objfpc}{$ifdef mswindows}{$apptype console}{$endif}
const
true = 'true';
false = 'false';
begin
writeln(true);
writeln(false);
end.
[ EDIT ]
See https://wiki.freepascal.org/Boolean
While you can assign values to true and false, it has now nothing to do with the boolean values....
Try with this function:
FUNCTION IsNatural ( CONST num: VARIANT ): BOOLEAN;
BEGIN
IsNatural := ( num > 0 );
END;