FT_HEX2DEC()
Convert a hex number to decimal
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_HEX2DEC( <cHexNum> ) -> nDecNum

Arguments

<cHexNum> is a character string representing a hex number.

Returns

A decimal number.

Description

Converts a hexadecimal number to a BASE 10 decimal number.
Useful for using FT_INT86().

Examples

FT_INT86( HEX2DEC( "21" ), aRegs )

Converts 21h, the Dos Interrupt, to its decimal equivalent,
33, for use by FT_INT86().

Source: HEX2DEC.PRG

Author: Robert A. DiFalco