Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> error 23 integer expression was expected pp 321</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Error 23              Integer Expression was Expected                pp 321

 Source:  Compiler

 Cause:   A non-integer expression was encountered.

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


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


 Example:
       VAR
          StrVar   :  String [1];

       BEGIN
          StrVar   := Chr (4.0) ; { Wrong - integer expected here }
          StrVar   := Chr (4)   ; { Right - 4 is an integer value }
       END.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson