1. RE: what error is this?
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jun 19, 2002
- 398 views
> -----Original Message----- > From: Kat [mailto:gertie at PELL.NET] > Why would this line, which does no length comparisons: > > puts(writefile,"num1= "&num_1&"\nnum2= "&num_2&"\n\noriginal = > "&sprintf("%d",num_1/num_2)&"\nstr math = "&junk&"\nTime= > "&sprintf("%d",endtime-starttime)) > > give me this error: > > sequence lengths are not the same (5 != 1) I assume the sequences in question are either num_1/num2 or endtime/starttime. Sequence math (+,-,*,/,=,!=,<,>,<=,>=) requires equal length sequences. I'm not sure why you'd be doing the above with sequences of numbers, but that's where your error lies. Matt Lewis