FANDOM


SETS is a CAOS command used to set a variable to a string value.

Usage

Syntax: SETS var (variable) str (string)

Sets var to str. str can be any variable containing a string, any function that returns a string, or a string literal. Any previous value of var will be overwritten.

Examples

Setting a variable from a string literal, and from another variable:

SETS VA00 "Strings use backslash+n for newlines.\nSee?"
SETS VA01 VA00

See also

  • SETV and SETA for numeric values and agents

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.