What it does
DeleteFont removes a Font object: after it, the id names nothing. It takes iFontID (an integer), and returns nothing. iFontID is the id of a Font object, the one LoadFont returned: it is how the call knows what to act on.
Syntax
DeleteFont(iFontID integer)Parameters
| Name | Type |
|---|---|
| iFontID | integer |
Every form returns
nothing
Example · generated
font = LoadFont("assets/font.ttf")DeleteFont(font)DO Sync()LOOPLoadFont is there to give the call something to act on; DeleteFont is the line that matters. 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.