[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Error 20                    Boolean was Expected                     pp 321

 Source:  Compiler

 Cause:   Variable being tested is not a Boolean type.

 Remedy:  Examine the statement ahead of the error cursor for the above
          condition.  Check the type declaration of the expression.


 ----------------------------------------------------------------------------


 Example:
       VAR
          ByteVar  :  Byte;          { ByteVar is declared as type Byte }

       BEGIN
          If ByteVar then WriteLn;   { True or False was expected       }
       END.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson