Display_Text(X, Y, Text, Color)
Display_Text is a call that writes text to the RaptorGraph window. It takes 4 required parameters:
X and Y give the location of the upper left corner of the text
Text gives the text to be displayed
Color specifies a color for the text
Note: A graphics window must be open when Display_Text is called or a run-time error will occur.
Examples:
Display_Text(3, 10, "Hello!", Black)
displays the word "Hello!" in black at coordinates (3,10)
Display_Text(100, 100, StringVar, Red)
displays the contents of the string variable StringVar in red at coordinates (100,100)
Display_Text(30, 50, "Score: " + score, Red)
displays the word Score followed by the value of the variable score in blue at coordinates (30,50)