Set text content of a GUI element

settext widget word

Set title or text content of the widget to the specified word.

Example:

"l := label "result {50 10 80 24}
repeat 10 [
  settext :l repcount^2
  wait 200
]

Output:
A label in the graphics window.

See also:

Table of Content