EditBoxFont

Family: Input · One form

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

NameType
indexinteger
fontIDinteger

Every form returns

nothing

Example · generated

font = LoadFont("assets/font.ttf")EditBoxFont(1, font)DO  Sync()LOOP

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

95 commands in Input