SignExtension

Description:

SignExtension method extends the sign bit to 64 bits. This allows you to treat a field of any size between 1 and 63 bits as a signed integer rather than an unsigned one. The "Number" parameter indicates the number of bits in the value; usually this is the same as the field size. It must be explicitly provided in case a RETRIEVE alters the field.

Parameters:

[Required]

Int

"Number of bits in value"


Example:

FIELD int_value (Fixed 1) RETRIEVE (SignExtension 8) (Decimal) "Test Attribute"