Search found 30 matches
- Fri Sep 11, 2020 11:32 am
- Forum: Oberon Language
- Topic: Type compatibility rules summary.
- Replies: 2
- Views: 65700
Re: Type compatibility rules summary.
Hi, I think you're referring to a question I posted but then deleted because I discovered it had already been answered earlier on this forum. The summary you link to mixes up types and type identifiers, and defines "same type" for two variables but then uses the term "same type" in a context that do...
- Sun Sep 01, 2019 9:40 pm
- Forum: Oberon Language
- Topic: Looking for clarification: local procedures cannot call local procedures, right?
- Replies: 5
- Views: 100319
Re: Looking for clarification: local procedures cannot call local procedures, right?
Thanks for that. Yes, from the latest revision of the report: In addition to its formal parameters and locally declared objects, the objects declared globally are also visible in the procedure agrees with the quote you gave from PO2013, if the phrase "locally declared objects" means "objects declare...
- Sat Aug 31, 2019 2:05 pm
- Forum: Oberon Language
- Topic: Looking for clarification: local procedures cannot call local procedures, right?
- Replies: 5
- Views: 100319
Re: Looking for clarification: local procedures cannot call local procedures, right?
Ok, thanks for that. An interesting discussion. I need to get on that list!
- Fri Aug 30, 2019 2:12 am
- Forum: Oberon Language
- Topic: Looking for clarification: local procedures cannot call local procedures, right?
- Replies: 5
- Views: 100319
Looking for clarification: local procedures cannot call local procedures, right?
Hi, The following code: PROCEDURE P; PROCEDURE Q; (*local*) ... END Q; PROCEDURE R; (*local*) BEGIN ... Q ... END R; END P; is disallowed by the definition of Oberon07, that is, local procedure R cannot call local procedure Q, since the identifier Q is not local to R and not global....
- Mon May 02, 2016 6:45 pm
- Forum: Oberon Language
- Topic: Oberon Report Update 2016-05-01
- Replies: 33
- Views: 410413
Re: Oberon Report Update 2016-05-01
Can an open array be the target of an assignment? From the Report: "The type of the expression must be the same as that of the designator" and "Strings can be assigned to any array of characters..." Here's a question: if an open array is assigned to an array of equal base type but shorter length, i...
- Sun May 01, 2016 6:48 pm
- Forum: Oberon Language
- Topic: Oberon Report Update 2016-05-01
- Replies: 33
- Views: 410413
Re: Oberon Report Update 2016-05-01
Why? INTEGER is a qualident.(I assume that qualident still cannot be a basic type.)
- Fri Mar 04, 2016 5:27 pm
- Forum: Oberon Language
- Topic: Oberon Report update
- Replies: 3
- Views: 93573
Oberon Report update
The Oberon report has been updated. <= and >= no longer apply to SET arguments AFAICS. (See section 8.2.4)
- Tue Nov 05, 2013 5:48 pm
- Forum: Oberon Language
- Topic: Nested procedures
- Replies: 23
- Views: 201369
Re: Nested procedures
Hmm. I think the report should say:Langugae report is now much clear
In addition to its formal parameters and locally declared objects, the objects declared globally are also visible in the procedure (except objects whose identifiers coincide with those of locally declared objects).
- Wed Oct 30, 2013 5:29 pm
- Forum: Oberon Language
- Topic: Updated Oberon Language Report (Revision 1.10.2013)
- Replies: 21
- Views: 243427
Re: Updated Oberon Language Report (Revision 1.10.2013)
I guess that's covered byI suspect that the section needs to be amended with an exception...
in Section 6.1 of the report.The type BYTE is compatible with the type INTEGER, and vice-versa.
- Wed Oct 30, 2013 5:26 pm
- Forum: Oberon Language
- Topic: Updated Oberon Language Report (Revision 1.10.2013)
- Replies: 21
- Views: 243427
Re: Updated Oberon Language Report (Revision 1.10.2013)
Heh heh! Ditto!That's good as we had already removed it from the compiler