User Tools

Site Tools


sample_code:digital_clock

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sample_code:digital_clock [2016/08/29 06:19]
titus
sample_code:digital_clock [2017/06/14 09:13]
titus
Line 2: Line 2:
  
 This is a simple clock. This is a simple clock.
 +\\
 +[[http://mycode.ucoz.net/files/spk/DigitalClock_v1.spk|Here]] is the spk.
  
-<code JavaScript>+<code JavaScript Clock.js>
  
 //Called when application is started. //Called when application is started.
Line 28: Line 30:
     //Add layout to app.         //Add layout to app.    
     app.AddLayout( lay );     app.AddLayout( lay );
-setInterval("Clock()",1000)+setInterval(Clock,1000)
 } }
 function Clock()  function Clock() 
sample_code/digital_clock.txt ยท Last modified: 2017/06/14 17:13 (external edit)