StorePersistentField

Description:

StorePersistentField method saves the value of the current field in the specified inter-frame data. The item after the method name must be the name of the inter-frame data in which the field is to be stored. Data is retrieved using the PersistentField method.

Parameters:

[Required]

StaticName

"Inter-frame data name"


Example:

GROUP request IF (MatchTableData code_table req_or_resp 1)

FIELD code (Fixed 1) RETRIEVE (StorePersistentField KeepThisCode) (Decimal) "Code"

GROUP response IF (MatchTableData code_table req_or_resp 2)

FIELD response_code (Fixed 7 Bits) (TABLE response_code_table) IN_SUMMARY "Resp Code" 100 " Response Code"

FIELD retrieved_code (Fixed 0 bits) RETRIEVE (PersistentField KeepThisCode) (Hex) "Retrieved Code"

FIELD no_response (Fixed 1 Byte) IF (FieldIsBetween 0x00 0x1F retrieved_code) (Constant "No Response Required") "Response"

FIELD resp_req (Fixed 2 Bytes) IF NOT (FieldIsBetween 0x00 0x1F retrieved_code) (Table resp_code_table) "Response"