Code Examples is coming soon! It will release around late April to early June. Code Examples teaches you the basics of coding and goes through each command, explaining what it does and supplying examples.
It will also come with 8 quizzes and a side game-show style game called Code Exam. I promise, this will not be cancelled.
Don't beg for it. The creator is working hard on it, and keep in mind - they are a real person. They go through real life. They (probably) don't have that much free time.
But GPAGE -1 doesn't have all the text characters. If you define a new one, it won't show up on the font page. That's why I'm asking for FONTDEF [chr code] OUT DEFINITION%.
One more tip: READ THE MANUAL! It's actually really well written and explains the basics of BASIC! It also solves about half of the questions on this Miiverse community.
You can write IF statements in two different ways:
Single Line:
IF TCHT==1 THEN PRINT "Yes" ELSE PRINT "No"
Multiple Lines
IF TCHT==1 THEN
PRINT "Yes"
ELSE
PRINT "No"
ENDIF
Note the ENDIF is in the multiple-line IF statement and not in the single-line one.
If it's a drawing application, then I recommend doing something like this:
ACLS
XSCREEN 3 'no 3d, hide keyboard
DISPLAY 1
COLOR=RGB(255,0,0) 'red
WHILE 1 'Infinite loop
VSYNC
OLDX=TCHX:OLDY=TCHY
TOUCH OUT TCHT,TCHX,TCHY
IF TCHT==1 THEN
GPSET TCHX,TCHY,COLOR
ELSE
GLINE OLDX,OLDY,TCHX,TCHY,COLOR
ENDIF
WEND