Sprint()

Type: REGULAR FUNCTION

Purpose: Prints one or more values to a STRING variable.

Similar to the Print() function, except that output is not directed to the OUTPUT device or file.

One use for this function is the automatic generation of filenames or labels consisting of a fixed name and a repetition counter e.g., EXPT1, EXPT2, EXPT3...

Usage: String = Sprint(Value, ...)

  String STRING The output string.
  Value REAL, INDEX, STRING, BOOL, BITS The value(s) to be printed.

See the description of the Print() command for detail on output formats.

Related Topics Link IconRelated Topics