BUTTONUPDATEname
text
Replaces the text on the button identified by name
with text
.
WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 [] MAKE "Pushed 0 BUTTONCREATE "mywindow "mybutton :Pushed 25 25 25 25 [MAKE "Pushed :Pushed + 1 BUTTONUPDATE "mybutton :Pushed]
Push the button a few times.
BUTTONDELETE "mybutton WINDOWDELETE "mywindow