Skip to content

*HEX - Hexadecimal Dump

Purpose

The *HEX utility produces a hexadecimal dump of the contents of string variables. You can use this utility to search for characters that Thoroughbred Basic does not recognize and cannot print or display.

Procedure

To run this utility from Thoroughbred Basic Console Mode type:

CALL “*HEX”, stringvar and press Enter.

(where: stringvar is a string variable.)

For example:

Screenshot from Thoroughbred Basic Utilities

The *HEX utility produced a hexadecimal dump to display contents of the A$ string variable. The message line at the bottom of the listing displays a set of options that will prove useful when you have a very long string contained in a string variable.

From the Thoroughbred Basic Utilities, version 8.9.1. Open this page in the PDF