ReverseString

Family: String · One form

What it does

ReverseString takes string (a string), and answers a string.

Syntax

ReverseString(string string) → string

Parameters

NameType
stringstring

Every form returns

string

Example · generated

DO  Print(ReverseString("hello"))  Sync()LOOP

ReverseString is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

21 commands in String