SPLat Logo

ComRx_GetHex [D>=23]

NOTICE: Our web site is being updated, but is currently experiencing extreme slowness due to host issues. Please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map
SPLat will be shut down for the Christmas Holiday season from Friday 20 December 2024 through Tuesday 7 January 2025. We will check emails periodically and will continue to process orders but at a slower pace. Santa hat

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