Boolean values: Difference between revisions

Content added Content deleted
Line 1,054: Line 1,054:
=={{header|Free Pascal}}==
=={{header|Free Pascal}}==
In addition to the types defined by [[#Object Pascal|Object Pascal]], free Pascal defines the <code>qWordBool</code>, that has a <code>sizeOf</code> eight.<br>
In addition to the types defined by [[#Object Pascal|Object Pascal]], free Pascal defines the <code>qWordBool</code>, that has a <code>sizeOf</code> eight.<br>
Furthermore, True and False are not keywords from FPC v3.0.0. It is possible to assign any value to true and false, like strings but even objects.
Furthermore, True and False are not keywords from FPC v3.0.0. It is possible to assign any value to true and false, like strings but even objects.<br>
<lang pascal>{$mode objfpc}{$ifdef mswindows}{$apptype console}{$endif}
const
true = 'true';
false = 'false';
begin
writeln(true);
writeln(false);
end.</lang>


=={{header|Frink}}==
=={{header|Frink}}==