Draw a clock: Difference between revisions

(→‎{{header|AmigaBASIC}}: add screenshot)
(One intermediate revision by the same user not shown)
Line 588:
 
==={{header|AmigaBASIC}}===
[[File:Amigabasic clock.png|thumb|Output]]
 
<syntaxhighlight lang="amigabasic">xp=320:yp=95:size=150
CIRCLE (xp,yp),size,,,,.5
Line 3,969:
 
=={{header|Locomotive Basic}}==
[[File:Cpcbasic draw clock.png|thumb|Output]]
 
Because the Amstrad CPC does not have an RTC, we first have to ask the user for the current time. The seconds hand is drawn in XOR ink mode so that it can be removed without affecting the other hands.
 
81

edits