examples\basic\tick.ck
// tick tock

// infinite time loop
while( true )
{
    // print now in seconds
    <<< "tick:", (now / second), "seconds" >>>; 
    1::second => now;
}
home .. language .. program .. examples