[Oberon] Dynamically sized allocation with NEW()

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Fri Aug 3 14:52:00 CEST 2018


   > b.mk := 0;   > Kernel.New(b.base, SYSTEM.ADR(b.tag);

If the intent of these lines is to make the GC write into the field b.mk, it won’t.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20180803/d6da89f7/attachment.html>


More information about the Oberon mailing list