Re: Possible feature for new Euphoria-version
- Posted by "Mike Nelson" <MichaelANelson at worldnet.att.net> Jan 09, 2004
- 401 views
I vote for the first alternative, with this addition: seq={{1,2,3},{4,5,6},{7,8,9}} a={2,{2,3}} b=seq[a] -- b is {5,6} thus a sequence subscript would provide both single elements and slices. Thus in the general case a={w,x,y,z} seq[a] will have exactly the same effect as seq[w][x][y][z] -- Mike Nelson