if what you want is a 'deamon'
a task that looks for work, does it and goes to sleep
allowing other actions to take place.
repeat
if (work to do)
do work
end if
delay process(current process; duration in tiks))
(or)
pause process(current process)
until (exit 4D)
tik = 1/60
From: Koen Van Hooreweghe via 4D_Tech <4d_tech@lists.4d.com>
From the top of my head. What about:
something:=true
while(something)
if(not interested)
something:=false
else
process
end if
end while
HTH
Koen
Yes, I considered this. I was specifically
From the top of my head. What about:
something:=true
while(something)
if(not interested)
something:=false
else
process
end if
end while
HTH
Koen
> Op 11 mrt. 2019, om 19:41 heeft Sandor Szatmari via 4D_Tech
> <4d_tech@lists.4d.com> het
Does 4D have the concept of continue like
while (something)
if (not interested)
continue
// Process what I'm interested in
end while
Sandor Szatmari
Senior Software Developer
Bristol Capital Inc. - InfoPlus
201 746 7215
www.infoplusonline.com
4 matches
Mail list logo