Why am I getting this error? Length mismatch.
- Posted by Shawn Pringle <pringle at techie.com> Jul 13, 2003
- 452 views
Greetings, I know that you may assign to slice in euphoria another sequence. Its been like that as long as I can remember. But now I am getting an error from the interpreter when I do that. Can someone tell me why this is happening? I can't believe it is a interpreter bug, so please tell me what's wrong... ;) Shawn Some code: print(1, string ) puts(1,10) print(1, string[where..where+length(old)-1] ) puts(1,10) print(1, new ) puts(1,10) string[where..where+length(old)-1]=new The error: crostics.ex:567 in function subst() lengths do not match on assignment to slice (4 != 5) ... called from crostics.ex:652 in function get_directions_to_use( ... called from crostics.ex:701 --> see ex.err -- CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers