Dynamic Sequences

Posted by LegacyUser on 23-Nov-2005 11:45

Hi there

I need the ability to reference sequences dynamically. Is it possible?

Example:

def var c as char initial "tuesday".

display next-value(c).

Thanks

Jake

All Replies

Posted by LegacyUser on 23-Dec-2005 11:22

Hello,

I don't know, but this function.

define variable dia as character no-undo.

assign dia = "Domingo;Segunda;Terca;Quarta;Quinta;Sexta;Sabado".

message "Hoje é" entry(weekday(today), dia, ";") view-as alert-box.

Leandro

Posted by Admin on 16-Jan-2007 07:41

Jake,

I was wondering if you ever got an answer for this one ?

I am kinda looking to do the same myself

Posted by kevin_saunders on 16-Jan-2007 07:52

IIRC, OE10.0x introduced dynamic sequences. Look into the DYNAMIC-CURRENT-VALUE (function and statement) & the DYNAMIC-NEXT-VALUE function.

Kevin

This thread is closed