[Oberon] SYSTEM.PTR vs SYSTEM.ADDRESS

Deadmarshal adeadmarshal at gmail.com
Thu Oct 27 18:22:43 CEST 2022


Hi,

What is the difference between SYSTEM.PTR and SYSTEM.ADDRESS? As far as
I've read they both seem to be void pointers? How does one cast a void
pointer in Oberon? for example in C we have:
void *ptr;
casting and dereferencing:
*(int*)ptr;
Do you also have a small example of how to use SYSTEM.Get() and
SYSTEM.Put() functions?

regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20221027/3a9b9125/attachment.html>


More information about the Oberon mailing list