Anonymous user
Mouse position: Difference between revisions
Added BBC BASIC
(fixed language tags) |
(Added BBC BASIC) |
||
Line 83:
Traytip, Mouse position, x: %x%`ny: %y%`rWindow: %WinTitle%, 4 ; Displays the info as a Traytip for 4 seconds
return</lang>
=={{header|BBC BASIC}}==
The mouse coordinates are relative to the bottom-left corner of the BBC BASIC main output window:
<lang bbcbasic> MOUSE xmouse%, ymouse%, buttons%
PRINT xmouse%, ymouse%</lang>
=={{header|C}}==
|