Re: Request for Eu 2.4
- Posted by xerox_irs at lvcm.com Feb 02, 2003
- 508 views
I purpose somthing like sequence a,b a={1,2,3,4,5} b={1,3,5} ? a[{1,3,5}] ? a[b] outputs being {1,3,5} {1,3,5} ----- Original Message ----- From: Greg Haberek <g.haberek at comcast.net> To: EUforum <EUforum at topica.com> Sent: Sunday, February 02, 2003 11:22 AM Subject: Request for Eu 2.4 > > Rob, > I would possibly like to see a way to index individual parts of a sequence.. > > Here is an example: > > -- begin example code -- > sequence my_stuff > > my_stuff = "ABCDEFG" > > ? my_stuff[ 2, 4, 6 ] > -- output: "BDF" > > -- rather than: > > ? my_stuff[2] & my_stuff[4] & my_stuff[6] > -- output: "BDF" > > -- end example code -- > > > right now I use a function, but this may make a nice feature > > ~Greg > g.haberek at comcast.net > > > > TOPICA - Start your own email discussion group. FREE! >