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 15 of is missing pp 321</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Error 15                      OF is Missing                          pp 321

 Source:  Compiler

 Cause:   Of is missing or syntax error.

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


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


 Example:
       VAR
          Numbers  :  Array [0..0] Ov Byte ;  { OF is mis-spelled      }
       CONST
          Selector :  Byte = 1             ;  { Selector is choice #1  }

       BEGIN
          Case Selector { Of }                { OF required here       }
            1 : Proc1                      ;  { Execute Proc1          }
            2 : Proc2                      ;  { Execute Proc2          }
            3 : Proc3                      ;  { Execute Proc3          }
            4 : Proc4                      ;  { Execute Proc4          }
            End;                           ;  { Of Case                }
       END.

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