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


17.1.20.3 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