[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Error 24               Integer Variable was Expected                 pp 321

 Source:  Compiler

 Cause:   A non-integer variable was encountered.

 Remedy:  Examine the statement ahead of the error cursor for the above
          condition.


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


 Example:
       VAR
          Code    : Integer   ;
          IntVar  : Integer   ;
          ByteVar : Byte      ;
          StrVar  : String [4];
          CharVar : Char      ;

       BEGIN
          Val (StrVar,IntVar ,CharVar);    { Wrong - Integer expected here }
          Val (StrVar,ByteVar,Code)   ;    { Wrong - Integer expected here }
          Val (StrVar,IntVar ,Code)   ;    { Correct                       }
       END.

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