You are here: Elements > Decoder Script Reference > RESERVED

RESERVED

The RESERVED statement allows you to define a field that is skipped in the decoding process. Nothing is displayed for a reserved field in either the Decode or Summary Pane. The syntax is:

RESERVED SizeMethod

The SizeMethod is exactly as for a FIELD. Conditionals, VERIFYs and other such things are not allowed on RESERVED statements. If you have a field that you want to value check but not display by default then you could use:

FIELD reserved (Fixed 1 Byte) (Hex) "Reserved" SUPPRESS_IF_VERIFIED (MustBe 0)

This will process a one-byte reserved field and check that its value is zero. If the value matches zero then, by virtue of the IF clause, the field will be skipped and nothing displayed. If the value is not zero then the field will appear in the Decode Pane in red.