Boolean values: Difference between revisions

Content deleted Content added
PatGarrett (talk | contribs)
PatGarrett (talk | contribs)
Line 1,274: Line 1,274:


=={{header|Pascal}}==
=={{header|Pascal}}==
Pascal has standard <code>Boolean</code> type with two values: <code>True</code> and <code>False</code>.
Pascal has standard <code>Boolean</code> type with two values: <code>True</code> and <code>False</code>.<br>
In all flavors of pascal there is no such foolishness as numbers of empty strings or pointers ( initialized or otherwise ) being evaluated as boolean. There is the boolean type as defined by the RTL statements such as:
In all flavors of pascal there is no such foolishness as numbers of empty strings or pointers ( initialized or otherwise ) being evaluated as boolean. There is the boolean type as defined by the RTL statements such as:
<lang pascal>
<lang pascal>