Re: scalars & lists

2003-11-30 Thread James Edward Gray II
On Nov 30, 2003, at 12:33 PM, B. Rothstein wrote: If I have a scalar variable that itslef is a list of names and numbers, for example $names = 'john 35, jack 18, albert 24, timmy 42'; is it possible, and if so how can it be done to separate the individual names and ages from the list in their

Re: scalars & lists

2003-11-30 Thread R. Joseph Newton
"B. Rothstein" wrote: > If I have a scalar variable that itslef is a list of names and numbers, for > example > > $names = 'john 35, jack 18, albert 24, timmy 42'; is it possible, and if > so how can it be done to separate the individual names and ages from the > list in their scalar form in orde

RE: scalars & lists

2003-11-30 Thread B. Rothstein
If I have a scalar variable that itslef is a list of names and numbers, for example > $names = 'john 35, jack 18, albert 24, timmy 42'; is it possible, and if so how can it be done to separate the individual names and ages from the list in their scalar form in order to create new lists sorted by n

Re: scalars & lists

2003-11-30 Thread James Edward Gray II
Keep your replies on the list and you won't have to wait for me to wake up again for an answer. ;) On Nov 30, 2003, at 4:33 AM, B. Rothstein wrote: thanks for the functions, but for some reason the sort does not seem to be coming out correctly, any idea why? By default, sort() works ASCIIbetic

Re: scalars & lists

2003-11-29 Thread James Edward Gray II
On Nov 30, 2003, at 1:45 AM, B. Rothstein wrote: If I have a scalar variable that itslef is a list of names, for example $names = 'john, jack, albert, timmy"; is it possible, and if so how can it be done to separate the individual names from the list in their scalar form in order to create a new