According to Gareth Wilson:
The following code, especially the Arrays, causes GPC1.EXE to page fault. I think this is a bug of the compiler because if I comment them out the compiler runs (complaining about invalid reference to Colours, Cmds, etc.)
Yes, this was an error in GPC.
It is corrected in recent Alpha versions of GPC. Look at
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/
However there are still known problems with initializers. For example array indices and field names are ignored in initializers; the components of a structured variable are always initialized in order.
Hope this helps,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal - http://home.pages.de/~gnu-pascal/ [970125]