Skip to content
MicroBlaster edited this page Sep 16, 2019 · 1 revision

Purpose: Formats a string for display.

Syntax: format InputVar OutputVar CONSTANT

InputVar: A variable containing the text to be formatted.

OutputVar: A variable to hold the formatted string.

CONSTANT: The format to be applied (CURRENCY, NUMBER, DATETIMETOSTR, STRTODATETIME).

Notes:

Example:

format CURRENTCREDITS $Credits CURRENCY
echo "You have $" $Credits " available."
Clone this wiki locally