Re: Request for Eu 2.4

new topic     » goto parent     » topic index » view thread      » older message » newer message

something else taht would be great is if this
atom a,b,c,d
sequence z
z={1,2,3,4}
{a,b,c,d}=z
so that a=1, b=2, c=3,d=4 that would be cool!!!!!!!!!

----- Original Message ----- 
From: <xerox_irs at lvcm.com>
Subject: Re: Request for Eu 2.4


> 
> 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!
> >
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu