RosettaCodeData/Task/Memory-allocation/ALGOL-68/memory-allocation-4.alg

4 lines
86 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
[666]MYSTRUCT pool;
INT new pool := LWB pool-1;
REF MYSTRUCT p = pool[new pool +:=1];