GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #59

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Peter Gerwinski
Subject: `True' and `False'
Date: 31 Mar 2003, 16:46:00

Frank Heckenbach wrote:
> When updating the documentation, Peter N Lewis and I came to the
> problem how to describe the Boolean values `True' and `False'.
> 
> Peter suggested "true (conforming to reality) and false (different
> from reality", but I think "reality" is not a good term here (what
> do computer programs have to do with reality, anyway ;-).

What about this?

  "True" stands for a condition which is always fullfilled - such as
  "2 = 2" - and "False" stands for a condition which is never
  fullfilled - such as "1 = 0".

Formally spoken, "condition" ties it "too much" to the usage in "if"
statements etc. - but this is what Boolean values are used for in
reality. ;-)

In order to illustrate that other uses are possible at all, an
example with a Boolean variable should follow.

Just my 2 CentiEuro,

    Peter

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Frank Heckenbach `True' and `False' 31 Mar 2003, 20:14:44
Grant Jacobs `True' and `False' 1 Apr 2003, 11:20:48

In reply to

Author Subject Date
Frank Heckenbach `True' and `False' 31 Mar 2003, 13:33:44

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).