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

Next revision
Previous revision
sample_code:digital_clock [2016/08/28 20:49]
titus created
sample_code:digital_clock [2017/06/14 17:13] (current)
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() 
Line 81: Line 83:
  
 </code> </code>
 +
 +[[:|Home]]>>[[sample_code:|Sample Code]]\\
sample_code/digital_clock.1472417345.txt.gz ยท Last modified: 2016/08/29 04:49 (external edit)