You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##Syntax
GUI.AddLine (widgetID : int, text : string)
##Description
GUI.AddLine adds text and a newline to the current line of the text box specified by widgetID. It is essentially equivalent to puttext in the text box. GUI.AddLine scrolls the text box (if necessary) so that the added text is now visible. The widgetID parameter must be the widget id of a text box. The text parameter is the text to be added to the text box.
##Example
The following creates a text box and puts the numbers from 1 to 25 in it.
import GUI
var boxID : int := GUI.CreateTextBox (50, 50, 200, 200)
for i : 1 .. 25
GUI.AddLine (boxID, intstr (i))
end for
loop
exit when GUI.ProcessEvent
end loop
##Status
Exported qualified.
This means that you can only call the function by calling GUI.AddLine, not by calling AddLine.