Next: , Previous: , Up: Struct instructions   [Contents][Index]


22.1.21.4 Instruction sref

Synopsys:

sref

Given a struct and a field name, push the value contained in the referred struct field on the stack. If the struct does not have a field with the given name, or if the field is absent from the struct value then raise PVM_E_ELEM.

Stack: ( SCT STR -- SCT STR VAL )

Exceptions: PVM_E_ELEM