Re: Transforming a Sequence from a Pattern

new topic     » goto parent     » topic index » view thread      » older message » newer message
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. grin

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?!?!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu