beautypg.com

Visara Master Console Center Scripting Guide User Manual

Page 194

background image

Chapter 5 Script Commands

Scripting Guide

194

STR

Syntax:

STR( %Number) ==> $String

Description:

Converts a numeric expression to a string.

Action:

The numeric expression is returned as a character string.

Parameters:

%Number. Numeric expression. The numeric expression to convert to

a character string.

Returns:

String value. The number formatted as a character string.

Notes:

N/A

Example:

$Var := STR( 4)

// the same as $Var := “4”

$Var := STR( %Num)

See Also:

ATSTR, FINDSTR, LEFTSTR, REPSTR, RIGHTSTR, SUBSTR, VAL