Re: Strange behavior in sequence handling
- Posted by Derek Parnell <ddparnell at bigpond.com> May 07, 2001
- 459 views
----- Original Message ----- From: <Henri.Goffin at sbs.be> To: "EUforum" <EUforum at topica.com> Subject: Strange behavior in sequence handling Hi Henri, > > I'm a newcomer to Euphoria but I immediately found it interesting enough to spend the few bucks that entitle you as a registered supporter. BTW are there Euphoria T-shirts or something? Now there's an idea. Maybe coffee mugs, and mouse pads too > Can somebody try the following and tell me if he/she gets the same weird behavior: > > sequence L > with trace > trace(1) > -- OK > L = {'a', 'b', 'z'} > L = {L, 1, 2} > L = {L, 4, 5} > -- probably OK all along the line > > -- Weird > L = {'a', 'b', 'z'} > L[1] = L -- Still OK > L[1][1] = L -- Wow! Is this LISP or Prolog or something? > trace(0) I sure do. I'd say you have discovered a bug in Euphoria. Of course, it could be just an undocumented feature. ------ Derek Parnell Melbourne, Australia "To finish a job quickly, go slower."