☰
Debian Codegraph
@
1.5.5.8-1
/
/
examples
/
time
/
time_types.ck
☽
☼
examples/time/time_types.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
1
// 05.ck : time, now, duration
2
3
// time + duration
4
now + 5::second => time later;
5
6
// time loop
7
while( now < later )
8
{
9
// print out the time
10
<<<now>>>;
11
// advance time
12
1::second => now;
13
}
14
15
<<<"success">>>;