Append (,)

The , (comma) appends an expression to a string.

Syntax

char-expr, expr

Usage

The comma operator formats and concatenates expressions together.

This operator can only be used in some instructions such as LET, PRINT, MESSAGE, ERROR and DISPLAY instructions.

As an alternative, use the || concatenation operator.

Use the comma concatenation operator when data needs to be formatted for printing and display.

Example

MAIN
  DISPLAY "Today:", TODAY, " and a number: ", 12345.67
END MAIN