[Oberon] Re (2): Re (2): LONGINT, RETURN & etc.
peter at easthope.ca
peter at easthope.ca
Sun Jun 18 15:56:57 CEST 2017
From: Chris Burrows <chris at cfbsoftware.com>
Date: Sat, 17 Jun 2017 14:52:57 +0930
> The CONST keyword protects the parameter from being changed within the
> body of the procedure and any procedures that it calls i.e. the value
> is read-only.
Makes perfect sense, thanks. The meaning should be obvious but
I missed it.
From: Chris Burrows <chris at cfbsoftware.com>
Date: Sun, 18 Jun 2017 08:51:11 +0930
> NIL is a reserved word representing a null POINTER, " " is a blank CHAR.
> They do not denote that 'expression' is optional.
>
> RETURN NIL END is valid
>
> RETURN " " END is valid
>
> RETURN END is not valid
Oops.
Thanks, ... Lyall E.
--
123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202 Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html Bcc: peter at easthope. ca
More information about the Oberon
mailing list