SPLat Logo

ComRx_GetHex [D>=23]

NOTICE: We are updating our website. For product enquiries and orders please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

ComRx_GetHex [D>=23]

Return a hex number from the head of the Rx buffer. Skip any leading spaces. Terminate thereafter after 2 hex digits or on first non-hex character. Accept upper or lower case. Consume the characters used but not the terminating character. Result in X, 0 if nothing there. R register signals outcome. 0 = OK, 1 = no valid hex number present.

Hex numbers longer than 8 bits can be read in several grabs.

Dialect exclusions: Not available in dialects before 23