SimplifyPath

Family: File · One form

What it does

SimplifyPath takes szPath (a string), and answers a string.

Syntax

SimplifyPath(szPath string) → string

Parameters

NameType
szPathstring

Every form returns

string

Example · generated

DO  Print(SimplifyPath("assets/data.dat"))  Sync()LOOP

SimplifyPath 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