Re: Strange machine-level exception
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jun 20, 2007
- 565 views
Bernie Ryan wrote: > > > Looking at the source in be_runtime.c for find_from. > > It seems that the code is testing for the value of the length for > > the full sequence instead of the length of the sequence from the > > starting point of the find to the end of the sequence. > > Maybe I'am wrong ? That's what I thought too. A further test confirms this beyond any remaining doubt:
sequence x x={1,2,3,4,{5}} x=x[1..3] ?find_from({5},x,3)
and it prints 5 which is obvious nonsense as length(x) is now 3. Regards, Pete