ISEQ does not throw error on non-integer inputs
A Logo programming environment for Microsoft Windows
Brought to you by:
david_costanzo
ISEQ is defined to create a sequence of integers.
That's what the "I" stands for (as opposed to RSEQ,
which creates sequences of rational numbers).
However, ISEQ does not throw an error when given a
non-integer number. Instead it outputs a sequence of
rational numbers, which is not what it is documented to do.
This should be fixed. ISEQ should throw an error on
non-integer input. Unfortunately, there is no NUMBERP
or INTEGERP predicate, but one could be simulated with
INT and EQUALP.
Logged In: YES
user_id=109252
I have checked in a fix for this. It will be available in
FMSLogo 6.10.0.