File: timer.ssc

package info (click to toggle)
stellarium 0.10.5-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 57,884 kB
  • ctags: 26,597
  • sloc: ansic: 347,123; cpp: 56,161; perl: 995; python: 427; sh: 151; pascal: 140; sql: 131; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//
// Name: Timer Test
// License: Public Domain
// Author: Matthew Gates
// Description: For testing script rates.
//

include("status_label.inc");
useStatusLabel("Timer (script second since start): ", 50, 50, 16, "#ff0000");
var counter = 0;
while(1)
{
	status(counter++);
	core.wait(1);
}