parent property

int get parent

Implementation

int get parent => (ZMachine.verToInt(Z.engine.version) <= 3)
    ? Z.engine.mem.loadb(parentAddr)
    : Z.engine.mem.loadw(parentAddr);
set parent (int? oid)

Implementation

set parent(int? oid) => ZMachine.verToInt(Z.engine.version) <= 3
    ? Z.engine.mem.storeb(parentAddr, oid!)
    : Z.engine.mem.storew(parentAddr, oid!);