Skip to content

FORMAT Keyword 🟑 BETA

FORMAT builds a string from a template and arguments.

Where BASIC scripting sits in the Developer guide

Syntax

FORMAT "template {0} {1}", a, b

Example

FORMAT "Order {0}: {1}", id, total

What it does

FORMAT substitutes positional placeholders such as {0} and {1} with the values that follow.

Limits

  • Registered with positional arguments only β€” the signature shown is the exact form; named arguments are not part of the keyword.
  • Placeholders are positional; the runtime does not accept named fields.