Updated Oberon Language Report (Revision 1.10.2013)

Topics related to the use of Oberon language features
augustk
Posts: 52
Joined: Mon Sep 05, 2011 5:21 pm
Location: Sweden

Re: Updated Oberon Language Report (Revision 1.10.2013)

Post by augustk » Thu Mar 13, 2014 1:25 pm

The sets of integers between 0 and an implementation-dependent limit.
Thanks, dsar. This makes sense as the size of the other basic types (except BYTE) is unspecified.

augustk
Posts: 52
Joined: Mon Sep 05, 2011 5:21 pm
Location: Sweden

Re: Updated Oberon Language Report (Revision 1.10.2013)

Post by augustk » Sat Apr 12, 2014 3:28 pm

The last sentence of the the first paragraph of section 10.1 has also changed from
However, if a value parameter is of a scalar type, it represents a local variable to which the value of the actual expression is initially assigned.
to
However, if a value parameter is of a basic type, it represents a local variable to which the value of the actual expression is initially assigned.
This means that a value parameter of pointer or procedure type cannot be changed by assignment. Personally, I don't see why basic types (or any types) are excepted, since, as far as I know, it is concidered bad practice to modify a value parameter.

Locked