Folder

Family: File · One form

What it does

Folder writes a value: it sets rather than reads. It takes str (a string), and answers an integer.

Syntax

Folder(str string) → integer

Parameters

NameType
strstring

Every form returns

integer

Example · generated

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

Folder 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.

61 commands in File