Error message Illegal Natural Number
Posted: Sat Sep 29, 2012 4:59 am
With this
I am getting an error message on REC with REC >1000
quote Expression does not evaluate to a legal natural number
unquote. However, if parameter REC is chosen <= 1000
there is no such error message. It seems this appears since v30
and was not with preceeding v29. Any help available ?
Code: Select all
startshape SM_CURve
Re1=840
Re2=580
shape SQU
{SQUARE [s 25 1 y .5] }
shape RUNsm(natural REC)
{
if(REC>=Re1)
{SQU [ ]
RUNsm(REC--1) [y 1 r 1]}
else if (REC>=Re2)
{SQU [ ]
RUNsm(REC--1) [y 1 r -1]}
}
shape SM_CURve
{RUNsm(1001) [ ]}
quote Expression does not evaluate to a legal natural number
unquote. However, if parameter REC is chosen <= 1000
there is no such error message. It seems this appears since v30
and was not with preceeding v29. Any help available ?