Hex_To_Bin

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > String functions >

Hex_To_Bin

 

Description

 

Converts a string of hexadecimal digits to the corresponding binary value.

 

Syntax

 

s = Hex_To_Bin$(StringBuffer)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

StringBuffer

String

No

String to be converted

 

Remarks

 

Each couple of hex bytes present into the input string is converted into 1 byte representing it binary representation.

For example "4161" string will be converted into "Aa" string

 

Restrictions

 

See also

 

Hex_To_Bin$, Bin_To_Hex$

 

Examples