ivo Ver Eecke · Mar 4, 2022 go to post

Hi Robert,

I did gain understanding in how you can find the ECP system ID's from a ^Buttons report.
I someone would know how I could retrieve these interactively, That would be helpful. However, I guess this is not the case, as this question has been open for a long time.

Best Regards
Ivo

ivo Ver Eecke · Aug 19, 2021 go to post

an overcomplicated solution:

Go() [] PUBLIC
{
    s cont = 0,pos = 1,lines = 0
    do {
        set line = $Text(Go+pos)
        set cont = cont + (($LENGTH(line,"{")-1)-($LENGTH(line,"}")-1))
        set lines = lines + 1
        set pos = pos + 1
    } while (cont > 0)
    s x=1
    if (x=1) a=}
    f i=0:1:lines $Text(Go+i),!
    s x=1
    if (x=1) a=}
    if (a=x) {
        b=a
    }
}

ivo Ver Eecke · Dec 25, 2017 go to post

Yeah, question is, what will we do now?

In any case, thanks to everyone for sharing your code! It has been fun an educational!

ivo Ver Eecke · Dec 24, 2017 go to post

Congrats!!

I discovered that I'm no good at multi-tasking (surprise!)... Babysitting and coding is not an ideal combination

ivo Ver Eecke · Dec 22, 2017 go to post

Today I really regret not getting up early...

started at 7:05 and finished first part in 12min, second part in 18min -> would get me a place in top 100...

sad

ivo Ver Eecke · Dec 19, 2017 go to post

I did not bother doing the jobs parallel. Turn-based did come up with an answer reasonably fast.

But I'm sure it would be interesting to sort out how to execute them in parallel. In any case I'm sure I'll be playing around with $system.Event (didn't know that one)...

ivo Ver Eecke · Dec 12, 2017 go to post

Denis,

Are you trying to have one form refreshing its data based on actions on the first form?