1.5.0CVS: Timerate is inaccurate (WIN32)
Posted: 11.12.2006, 01:01
The timerate doesn't work properly in cel-scripts with 1.5.0 CVS (WIN32).
250 goes 300 (rounded up)
320 goes 300 (rounded off)
350 goes 400 (rounded up)
380 goes 400 (rounded up)
400 goes 400 (OK)
Adirondack
250 goes 300 (rounded up)
320 goes 300 (rounded off)
350 goes 400 (rounded up)
380 goes 400 (rounded up)
400 goes 400 (OK)
Code: Select all
{
select { object "Sol/Earth" }
follow {}
print { text "Timerate 250" row -4 column 1 duration 10.0}
timerate { rate 250 }
wait { duration 10 }
print { text "Timerate 320" row -4 column 1 duration 10.0}
timerate { rate 320 }
wait { duration 10 }
print { text "Timerate 350" row -4 column 1 duration 10.0}
timerate { rate 350 }
wait { duration 10 }
print { text "Timerate 380" row -4 column 1 duration 10.0}
timerate { rate 380 }
wait { duration 10 }
print { text "Timerate 400" row -4 column 1 duration 10.0}
timerate { rate 400 }
wait { duration 10 }
timerate { rate 1 }
}
Adirondack