What it does
FormatDate takes mask (a string) and date (an integer), and answers a string.
Syntax
FormatDate(mask string, date integer) → stringParameters
| Name | Type |
|---|---|
| mask | string |
| date | integer |
Every form returns
string
Example · generated
DO Print(FormatDate("value", 1)) Sync()LOOPFormatDate 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.