What it does
Debug takes message (a string), and returns nothing. That is the first of 3 forms.
Syntax
1
Debug(message string)2
Debug(message float)3
Debug(message integer)Parameters
| Name | Type | In forms |
|---|---|---|
| message | string · float · integer | all |
Every form returns
nothing
Example · generated
Form 1, with a string
Debug("hello")DO Sync()LOOPForm 2, with a float
Debug(1.0)DO Sync()LOOPDebug is called with values of the types its signature asks for. 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.