Hello,
I proudly announce that the next alpha version of GPC will understand BP-style character constants: ^A means chr ( 1 ) i.e. Ctrl+A, etc.
Thanks to GPC's context-sensitive lexical analyzer, they work even better than in BP. GPC just compiled
Type X = ^Y; (* Forward pointer reference *) Y = array [ ^A..^Z ] of ^Z; (* An array of pointers to Z *) Z = ^A..^Z; (* Subrange chr(1)..chr(26) *)
Now try to compile this with Borland Pascal 7.0 ... ;-)
Hooray,
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 [970420] - http://home.pages.de/~gnu-pascal/ [970125]