GPC Keywords/Reserved Words

CBFalconer cbfalconer at yahoo.com
Sat Dec 1 01:48:09 CET 2001


Frank Heckenbach wrote:
> 
> CBFalconer wrote:
> 
> > > "Gloria, Jing" wrote:
> > >
> > > <<< line 226  Class is a GPC reserve word.
> >
> > I think if you use --extended-pascal or --standard-pascal that
> > will go away.  Info gpc should lead you straight to the applicable
> > documentation.
> 
> Indeed.
> 
> Also, in the particular case of `view', I've disabled it as a
> reserved word in general contexts, so if you use the most current
> GPC, it should also work without these options.

Which brings me to the subject of defaults.  In PascalP, after
much discussion with myself, I concluded that the proper default
was pure standard syntax, with access to extension standard
procedures.  Such source, if compiled elsewhere, could always be
satisfied by providing the missing procedures/functions.  If any
extended syntax was desired it was necessary to specifically
enable them.

Maybe the appropriate default for GPC is --extended-pascal.  Then
either compile time options or pseudo-comments could further
refine it.  The user could always select a --gpc-pascal option
(which has no standard).

-- 
Chuck F (cbfalconer at yahoo.com) (cbfalconer at XXXXworldnet.att.net)
   Available for consulting/temporary embedded and systems.
   (Remove "XXXX" from reply address. yahoo works unmodified)
   mailto:uce at ftc.gov  (for spambots to harvest)




More information about the Gpc mailing list