Simple windowed application: Difference between revisions
Content added Content deleted
Line 1,469: | Line 1,469: | ||
end |
end |
||
end</lang> |
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}}== |
=={{header|Scala}}== |