SPRINT function

Purpose: This function will concatenate a comma separated list of expressions and place them in a string.


 Syntax:

 SPRINT RetStr$, comma separated expressions

 Parameters:

  • RetStr$ String to which will contain result of 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 A$
 SPRINT A$, Ucase$("Hello"), ">>>", atn(1)*4, "<<<", " is", 3.14159265358979#
 PRINT A$