BP-style ^X character constants

Sat, 3 May 1997 23:45:24 +0200 (MET DST)


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]


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es