I have run the following example program from the help files of Advanced 2d plugin to get an idea how to use the "a2CreateFont" command and I get an error. I attached an image of the output of the error below. How can I fix this?
[EDIT] actually the error is line 3 not line 2. I messed up the lines lol
rem Set up the font
myFont = a2CreateFont("ariel", 20, a2Size_Char(), a2Style_Normal() ,1)
rem Draw a bounding box, so we can see how the command works
a2Box 10, 10, 200, 200, 0x88FFFFFF
rem Set up some variables
a$ = "Now is the time for all quick foxes to jump over their lazy dogs."
valign = 0
halign = 0
wordWrap = 1
color = 0xFFFFFF00
rem Draw the text
a2BoxText myFont, 10, 10, 200, 200, a$, halign, valign, wordWrap, color
WAIT KEY
Gigabyte Board/2.93Ghtz Intel Core Duo Proc./4GB Ram/Nvidia Geforce 730 2GB/1TB Western Dig. SSD/Windows 10 Home/Dark Basic Pro 9Ex
No one cares how much you know until they know how much you care.