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

 Source:  Compiler

 Cause:   Period is missing from statement.

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


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


 Example:
       TYPE
          Days   = 1..31               ;
          Months = (Jan,Feb,Mar,Apr,
                    May,Jun,Jul,Aug,
                    Sep,Oct,Nov,Dec)   ;
          Years  = 1900..1999          ;

          Date = Record
                 Day   : Days          ; { Day is 1..31 of Days        }
                 Month : Months        ; { Month is 1..12 of Months    }
                 Year  : Years         ; { Year is 1900..1999 of Years }
                 End                   ; { End of record               }

       VAR
          Birth        : Date          ;

       BEGIN
          Birth Month  := Nov          ;  { Wrong   }
          Birth Day    := 4            ;
          Birth Year   := 1950         ;

          Birth.Month  := Nov          ;  { Correct }
          Birth.Day    := 4            ;
          Birth.Year   := 1950         ;
       END.

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