Re: Transforming a Sequence from a Pattern
- Posted by euphoric (admin) Nov 10, 2008
- 960 views
mattlewis said...
euphoric said...
I need help duplicating a sequence structure...
Take a look at INFO.INDICES in TABLEDEF. Then you can use either the seq_store() in eusql or the equivalent (IIRC) in std/sequence.e
I got that far (stumbled upon seq_store() in std/sequence.e while looking for helpful sequence functionality) but couldn't get any further, so I threw my hands in the air and reverted.
Maybe I'll give it a go tomorrow. Looks like I'll need a recursive function, but then I saw seq_store and it doesn't use recursion! I'm like, what the hey?!?!