What it does
EditBoxFont writes a value: it sets rather than reads. It takes index (an integer) and fontID (an integer), and returns nothing.
Syntax
EditBoxFont(index integer, fontID integer)Parameters
| Name | Type |
|---|---|
| index | integer |
| fontID | integer |
Every form returns
nothing
Example · generated
font = LoadFont("assets/font.ttf")EditBoxFont(1, font)DO Sync()LOOPLoadFont is there to give the call something to act on; EditBoxFont 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.