Re: Looping and control flow

2019-03-11 Thread Chip Scheide via 4D_Tech
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

Re: Looping and control flow

2019-03-11 Thread Sandor Szatmari via 4D_Tech
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

Re: Looping and control flow

2019-03-11 Thread Koen Van Hooreweghe via 4D_Tech
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

Looping and control flow

2019-03-11 Thread Sandor Szatmari via 4D_Tech
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