2 ms·
At least in Oberon there is no "address of" operator.
by augustk 9y ago
At least in Oberon there is no "address of" operator.
- pjmlp 9y agoSure there is. MODULE Crash; IMPORT SYSTEM; VAR source: LONGINT; sourceAddress: INTEGER source2: LONGINT; BEGIN source := 23; sourceAddress := SYSTEM.ADR(source); SYSTEM.GET(sourceAddress, source2); (* .... *) END Crash. The issue is that any module that imports SYSTEM is considered unsafe by the compiler.