GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #10169

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Gale Paeper
Subject: Closing a file
Date: 18 Apr 2004, 20:40:53

Scott Moore wrote:
> > Scott Moore wrote:
> >
> > > UCSD has the form:
> > >
> > > close(filename, option)
> > >
> > > Where option is a "word":
> > >
> > > normal
> > > lock
> > > purge
> > > crunch
> > >
> > > Note that a filename (not handle or var file reference) is used,
> > > and that "word" as option pretty much requires close to be
> > > a compiler built-in statement.
> >
> > Ugh. So they are not even predefined constants?
[snip]
> 
> Using "word symbols" is actually the recommended method to use
> (standardwise) to prevent polluting the reserved tolken space. For
> example, "forward" and "external" are "word symbols". There are, or
> were, whole languages that work like that, leading to lots of
> ambiguous constructs.

Scott, I think you're getting your terminology mixed up.  Word-symbol is
the term both ISO standards use for those token spellings which are
reserved solely for language syntatic use, e.g., "begin", "end", etc.
are word-symbols.  For "forward" (ISO 7185 and 10206), "interface" and
"implementation" (ISO 10206), both standards use the term directive to
refer to those spellings which have special language significance only
in specified syntax slots and are spellings available for user defined
uses outside those specified syntax slots. 

Therefore, 'Using "word symbols"' is not the recommended method
(standardwise) since it does pollute 'the reserved tolken space'.

Gale Paeper
gpaeper@empirenet.com

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
david@tcs01.demon.co.uk Closing a file 18 Apr 2004, 16:16:07
Scott Moore Closing a file 18 Apr 2004, 09:52:53
Frank Heckenbach Closing a file 18 Apr 2004, 19:15:38
Scott Moore Closing a file 18 Apr 2004, 16:05:42

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).