1. what error is this?
- Posted by Kat <gertie at PELL.NET> Jun 19, 2002
- 445 views
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) Kat, puzzled.
2. Re: what error is this?
- Posted by Sabal.Mike at notations.com Jun 19, 2002
- 439 views
Is this all just one long line wrapped by the email client, or do you actually have a string breaking lines? Mike Sabal >>> gertie at PELL.NET 06/19/02 02:52PM >>> 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) Kat, puzzled.
3. Re: what error is this?
- Posted by George Walters <gwalters at sc.rr.com> Jun 19, 2002
- 433 views
could endtime and starttime not be atoms? george ----- Original Message ----- From: "Kat" <gertie at PELL.NET> To: "EUforum" <EUforum at topica.com> Subject: what error is this? > > 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) > > Kat, > puzzled. > > > >
4. Re: what error is this?
- Posted by "C. K. Lester" <cklester at yahoo.com> Jun 19, 2002
- 460 views
> 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)) Prolly 'cuz you can't split strings across lines. Will this work? I don't know: puts(writefile,"num1= "&num_1&"\nnum2= "&num_2&"\n\noriginal = " &sprintf("%d",num_1/num_2)&"\nstr math = "&junk&"\nTime= " &sprintf("%d",endtime-starttime))
5. Re: what error is this?
- Posted by "C. K. Lester" <cklester at yahoo.com> Jun 19, 2002
- 430 views
> 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) Or maybe endtime and starttime are unequally-yoked sequences.