manuallyDestroyVariable (value --)value: Value or Ref whose designated object is destroyed.manuallyDestroyVariable is a designated-storage destruction builtin. It destroys a value in existing storage. Storage release or storage reuse is a separate operation. For an In-place local or field, NAME or .NAME and @NAME or .@NAME all designate the same storage for manual destruction.
value is a mutable or immutable Ref, the builtin destroys the value in the referenced storage."String" use
"memory.mplMalloc" use
Tracer: {
value: 0;
INIT: [
("init\n") printList
42 !value
];
DIE: [
("die\n") printList
];
};
{} 0 {} [
slot: Tracer storageSize mplMalloc @Tracer addressToReference;
@slot manuallyInitVariable
("-- value -- " slot.value "\n") printList
slot manuallyDestroyVariable
0
] "main" exportFunction
init
-- value -- 42
die
addressToReference builtin (address modelValue -- reconstructedValue) Typed reconstruction from a numeric storage address. Ref-like model values keep their schema, and direct non-Ref-like model values produce Ref results.alignment builtin (schema -- alignment) Known Natx alignment requirement of the dereferenced schema.manuallyInitVariable builtin (value --) Manually initializes the designated value in existing storage without allocating the storage.storageAddress builtin (value -- address) Current stack-value storage query; known NIL Ref, Text, and Code values produce 0nx.storageSize builtin (schema -- size) Known Natx storage size of the dereferenced schema.