User manual

F4-BMS 2.0 Technical Manual
optional)" duration. THe size of the oval is specified by
the two arguments. If only one argument is
supplied, then a circle is drawn with that radius.
"Line <time> <float (x1)> <float (y1)> <float
(x2)> <float (y2)>"
Draws a line for <time> duration from x1,y1 to
x2,y2
"EnterCritical"
This experimental function can be used to
execute multiple commands in a single frame.
Execution will proceed in one frame until an
"EndCritical" function is encountered. This
command may be very dangerous, as the use
of ANY waiting calls like "WaitPrint" will cause
Falcon to stop running until it is finished.
"EndCritical"
Causes one command per frame execution to
resume.
"SimCommand <command>"
Causes <command> to be executed just as if
the user had pressed the keystroke.
"While"
If the prior return value is true, runs the
commands until the next "EndSection". When
"EndSection" is found, execution returns to the
command prior to the "While" function. If the
prior return value is false, then execution
moves to the command after the next
"EndSection"
"WhileNot"
Operates identically to the "While" statement,
with the exception that a return value of false
causes the while to execute.
"CallIf <section>"
If the return value of the prior statement is true,
then the section identified by <section> will be
called. Once an "EndSection" is encountered,
execution will return to the instruction after
"CallIf"
"CallIfNot <section>"
Functions identically to "CallIf" except that a
false return value triggers the call.
"Clear"
Immediately removes all drawn elements from
the screen (Such as those created by "Print"
"Line" and "Oval" statements)
"ClearLast <integer - optional>"
If no argument is provided, the last created
drawn element will be removed from the
155