Re: Constructing an array value from a sequen - Reply

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

> >For example:
> >   I have a sequence called  'my_data' which containing sequences
> >   within sequences.  The procedures  will
> >  read the value of a selected part of 'my_data' and
> >  write a value to that location.
> >
> If I have not completely misunderstood you, a rather clumsy solution is
> attached below. But I am sure more efficient and elegant (recursive?)
> alternatives are on the way...
>
> Btw, I have a feeling, the same, or very similar subject was discussed on this
> list several times already. Someone, perhaps, should volunteer to start a FAQ
> file. Once it is established, it could become a collective effort.
>

I think I solved it recursively in the newer slice.e (it's there because I
needed it in tree.e) Recursion solves some problems, but avoid it if you can,
because it eats stack for breakfast! Your version for getting stuff out of a
seq is better than mine. (I think, it's been a while, an I skimmed yr code)

I think maybe I should overhaul slice.e... (tree.e works but is crummy, and
since noone seems to use it...)

>> doug edmunds
>Jiri
Anders

-------------------------------------------------------------------
Anders Eurenius <c96aes at cs.umu.se> ICQ UIN:1453793
Computer Science/Engineering student at the university of Umeaa

In a world without fences, who needs Gates
-------------------------------------------------------------------

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

Search



Quick Links

User menu

Not signed in.

Misc Menu