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 36 type identifier was expected pp 322</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Error 36                Type Identifier was Expected                 pp 322

 Source:  Compiler

 Cause:   Variable is not correctly declared as a Type.

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


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


 Example:
       TYPE
          IntType = Integer;                  { Declare a type of Integer }

       VAR
          IntVar  : Integer;                  { IntVar is not a Type      }
          Numbers : Array [0..9] of IntVar;   { Wrong   - needs a Type    }
          Numbers : Array [0..9] of IntType;  { Correct - type is IntType }

       BEGIN
       END.

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