Frank Heckenbach frank at g-n-u.de
Wed Apr 30 19:10:19 CEST 2003

Gale Paeper wrote:

> Frank Heckenbach wrote:
> > 
> > `Return' currently needs special syntactic handling, only because
> > it's (optional) argument doesn't have to be enclosed in parentheses
> > (like in C), such as `Return 42'.
> > 
> > The only Pascal dialect (AFAIK) that also supports `Return' is Mac
> > Pascal. Does it work without parentheses there? If not, I suggest to
> > change it in GPC, even if it means a few (trivial) changes in
> > existing code.
> According to the documentation, Compaq Pascal also supports the RETURN
> statement with the same syntax as used by CodeWarrior Pascal.  In both,
> the expression doesn't have to be enclosed in parentheses.

I guess we should keep it like this then ... :-/


Frank Heckenbach, frank at g-n-u.de, http://fjf.gnu.de/, 7977168E
GPC To-Do list, latest features, fixed bugs:
GPC download signing key: 51FF C1F0 1A77 C6C2 4482  4DDC 117A 9773 7F88 1707

More information about the Gpc mailing list