NAME
-
str$ - convert numeric to string
SYNOPSIS
-
v$ =
str$(NumExpr)
DESCRIPTION
-
Str$
converts its numeric argument to a string of characters which
represent the value of the argument and returns this string.
The string contains a leading minus sign if the argument is negative,
and a leading space if the argument is positive or zero.
NumExpr may be any numeric expression.
The
val
function is complementary to
str$.
EXAMPLE
-
The program
a$ = ""
for i = 1 to 12
a$ = a$ + str$(i)
next i
print a$
produces the output
1 2 3 4 5 6 7 8 9 10 11 12
SEE ALSO
-
val
from
The Basmark QuickBASIC Programmer’s Manual
by
Lawrence Leinweber