murphy625
04-06-2005, 05:26 PM
I am using a list setup command that works fine but I have found that if its left open, processing of commands pauses. (not a problem)
But if a user leaves it open and walks away, this could be a problem.
I tried using the timer.fil to count down a variable and close it that way but it didn't work. :(
I put this in my timer.fil
!\19={\19-1}
I put this in m Mcode.fil
!\19=5
!LISTSETUP XXX;XXX;XXX;XXX :LISTADD EXIT :LISTADD ST1 :LISTADD ST2
!LISTPICK \21
!IF \21=EXIT THEN EXIT
!IF \21=ST1 THEN bla bla bla
!IF \21=ST2 THEN bla bla bla
!IF \19<0 THEN \21=EXIT :EXIT
----M1
I tried many other variants and nothing seems to close the list. Any ideas?
Should I say Thank You AL in advance??? :D
Murphy
But if a user leaves it open and walks away, this could be a problem.
I tried using the timer.fil to count down a variable and close it that way but it didn't work. :(
I put this in my timer.fil
!\19={\19-1}
I put this in m Mcode.fil
!\19=5
!LISTSETUP XXX;XXX;XXX;XXX :LISTADD EXIT :LISTADD ST1 :LISTADD ST2
!LISTPICK \21
!IF \21=EXIT THEN EXIT
!IF \21=ST1 THEN bla bla bla
!IF \21=ST2 THEN bla bla bla
!IF \19<0 THEN \21=EXIT :EXIT
----M1
I tried many other variants and nothing seems to close the list. Any ideas?
Should I say Thank You AL in advance??? :D
Murphy