alignment (schema -- alignment)
Inputs
schema: Object orRefwhose dereferenced schema determines the reported alignment.
Outputs
Ref inputs are followed before the query. Current value contents, current value state, and current view qualifiers do not participate.
Behavior
Example
{} 0 {} [
value: 0n8 dynamic;
"-- same schema, same result --" printCompilerMessage
0n8 alignment printStack _:;
value alignment printStack _:;
@value alignment printStack _:;
0
] "main" exportFunction
Expected Output During Compilation
-- same schema, same result --
1nx
1nx
1nx
See also
addressToReferencebuiltin(address modelValue -- reconstructedValue)Typed reconstruction from a numeric storage address. Ref-like model objects keep their schema, and direct non-Ref-like model objects produceRefresults.manuallyDestroyVariablebuiltin(object --)Manual in-place destruction without freeing storage.manuallyInitVariablebuiltin(object --)Manual initialization in existing storage.storageAddressbuiltin(object -- address)Current stack object storage-address query; knownNILRef,Text, andCodeobjects yield0nx.storageSizebuiltin(schema -- size)KnownNatxstorage size of the dereferenced schema.