beautypg.com

Hexstr – Visara Master Console Center Scripting Guide User Manual

Page 126

background image

Chapter 5 Script Commands

Scripting Guide

126

HEXSTR

Syntax:

HEXSTR( %Number) ==> $Hex

Description:

Converts an integer to a hex string.

Action:

The Number parameter is converted to a hex number. The hex number

is returned as a character string.

Parameters:

%Number. Numeric expression. The number to convert to hex.

Returns:

String value. The hex number formatted as a string.

Notes:

N/A

Example:

%Num := 62
$HexNum := HEXSTR( %Num)
// $HexNum will contain the string ‘3E’

See Also:

STR, VAL