SPRINT function
Purpose: SPRINT will concatenate a
comma separated list of expressions and place them in a string.
Syntax:
SPRINT RetStr$, comma separated expressions
Parameters:
- RetStr$, the return value, is a string containing the
concatenation of the comma separated expressions.
- comma separated expressions A comma separated list of
expressions to be concatenated. When adding floating point numbers
be sure to specify the data type by appending the type specifier to
the end of the number, for example, for a SINGLE 3.14159! and a
DOUBLE 3.14159265358979#. Each line of comma separated expressions
sent to SPRINT is limited to 2048 bytes.
|
Here is an example using SPRINT.
DIM RetStr$
SPRINT RetStr$, Ucase$("Hello"), " >>>", atn(1)*4, " <<<", " is", 3.14159265358979#
PRINT RetStr$