FormatDate

Family: Date · One form

What it does

FormatDate takes mask (a string) and date (an integer), and answers a string.

Syntax

FormatDate(mask string, date integer) → string

Parameters

NameType
maskstring
dateinteger

Every form returns

string

Example · generated

DO  Print(FormatDate("value", 1))  Sync()LOOP

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

13 commands in Date