Hex

Description:

This method formats the current field value as a hexadecimal number. The method takes 3 optional parameters. If you want to set only the 2nd or 3rd parameter, you must include values for previous parameters as placeholders. See the description of the Binary method for information on the parameters.

The result of a Hex format is preceded by "0x" to indicate hex notation.

Parameters:

[Optional]

Str

"Separator"

(Default value: 0)

[Optional]

Int

"Amount of data to display (0=unlimited)"

(Default value: 0)

[Optional]

List

"Suppress leading zeroes?"

(Default value: KeepPad)

List Values:

KeepPad

SuppressPad

[Optional]

Str

String to be appended after number


Example:

FIELD id_code (Fixed 1 Byte) (Hex) "Id Code"