Simple windowed application: Difference between revisions

Line 1,469:
end
end</lang>
 
=={{header|Run BASIC}}==
<lang runbasic>msg$ = "There have been no clicks yet"
[loop] cls ' clear screen
print msg$
button #c, "Click Me", [clickMe] 'create a button with handle and goto [tag]
print:print
wait
 
[clickMe]
clicks = clicks + 1
msg$ = "Button has been clicked ";clicks;" times"
goto [loop]</lang>
 
=={{header|Scala}}==
Anonymous user