What it does
RSet takes string (a string) and length (an integer), and answers a string. That is the first of 2 forms.
Syntax
1
RSet(string string, length integer) → string2
RSet(string string, length integer, character string) → stringParameters
| Name | Type | In forms |
|---|---|---|
| string | string | all |
| length | integer | all |
| character | string | 2 |
Every form returns
string
Example · generated
Form 1, the short one
DO Print(RSet("hello", 1)) Sync()LOOPForm 2, with every argument
DO Print(RSet("hello", 1, "value")) Sync()LOOPRSet 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.