Draw a clock: Difference between revisions

Content added Content deleted
Line 267: Line 267:
=={{header|Amazing Hopper}}==
=={{header|Amazing Hopper}}==
{{Trans|bbcbasic}}
{{Trans|bbcbasic}}
{{Trans|bacon}}
{{Trans|baCon}}
"Clock" dibujado en modo texto con Hopper-Jambo.
"Clock" dibujado en modo texto con Hopper-Jambo.
[[File:Captura_de_pantalla_de_2022-10-11_01-10-51.png|200px|thumb|right|Caption]]
[[File:Captura_de_pantalla_de_2022-10-11_01-10-51.png|200px|thumb|right|Caption]]
Line 278: Line 278:


#include <jambo.h>
#include <jambo.h>

#define ONESECOND 1000


Main
Main
Line 293: Line 295:
Tic ( last time )
Tic ( last time )
Loop
Loop
On time ( 1000 ~= last time ){
On time ( ONE SECOND ~= last time ){
Gosub 'draw clock'
Gosub 'draw clock'
}
}