WAIT ignores input <-1,0> -- should throw bad input error
A Logo programming environment for Microsoft Windows
Brought to you by:
david_costanzo
The WAIT command does nothing when its input is in the range <-1,0>. For all other negative inputs, WAIT throws a "WAIT doesn't like <input> as input" error. This is inconsistent. WAIT should throw an error for all negative input.
This looks like a rounding bug. That is, -.99 is being rounded up to zero.
This is a regression that I introduced when implementing feature request #1577722 (WAIT should accept fractional input) in FMSLogo 6.10.0.
How Reproducible:
Every Time
Steps to Reproduce:
show timemilli wait -0.99 show timemilli
What Happens:
No errors are thrown. The printout from both TIMEMILLI indicate that the WAIT command did not wait at all.
Expected Result:
WAIT doesn't like -0.99 as input.
Logged In: YES
user_id=109252
Originator: YES
I have checked in a fix for this. It will be available in FMSLogo 6.20.0.