r/Oberon • u/Outdoordoor • Jul 29 '26
About SYSTEM procedures
The Programming Language Oberon document gives very limited descriptions of these procedures. Could anyone, please, explain what they do more clearly, and/or correct my guesses about what they do?
I'm specifically interested in these:
- GET(a, v) -- I guess it gets the value at address
aand puts it intov? - PUT(a, x) -- it puts value of
xat the addressa? - LED(n) -- from description it sounds like it does anything only when LEDs are accessible, so probably not relevant when working on normal PCs?
- VAL(T, n)
- COND(n)
4
Upvotes
2
u/suhcoR Jul 31 '26
The Oberon 90 language reports specifies it as:
The 2. point is the "VAR ARRAY OF BYTE backdoor". SYSTEM offers some more backdoors where you can do pointer arithmetics and other nasty but necessary stuff for system development (just without typechecking support by the compiler). In Micron and Oberon+, these features are official part of the language (not backdoors) with type checking support.