Debug

Family: Studio · 3 forms

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

NameTypeIn forms
messagestring · float · integerall

Every form returns

nothing

Example · generated

Form 1, with a string

Debug("hello")DO  Sync()LOOP

Form 2, with a float

Debug(1.0)DO  Sync()LOOP

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

106 commands in Studio