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 of a second
you would start this in its own process. If you might want to 'wake'
the deamon outside of the delay time period, or wake a paused process,
from a second process issue:
CALL PROCESSS(deamon process id)
On Mon, 11 Mar 2019 15:07:50 -0400, Sandor Szatmari via 4D_Tech wrote:
>
> From: Koen Van Hooreweghe via 4D_Tech <[email protected]>
>
> 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 looking for an analog to
> the 'continue' directive that is common to many other languages. C,
> C++, Java, etc…
>
>
> I will of course have to do it this way if there is no equivalent… thanks
>
> Sandor Szatmari
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Senior Software Developer
> Bristol Capital Inc. - InfoPlus
> 201 746 7215
> www.infoplusonline.com
>
>
>
>
>> Op 11 mrt. 2019, om 19:41 heeft Sandor Szatmari via 4D_Tech
>> <[email protected]> het volgende geschreven:
>>
>> Does 4D have the concept of continue like
>>
>>
>> while (something)
>>
>>
>> if (not interested)
>> continue
>>
>>
>> // Process what I'm interested in
>>
>>
>> end while
>
>
>
> --------------------
> Compass bvba
> Koen Van Hooreweghe
> Kloosterstraat 65
> 9910 Aalter
> Belgium
> tel +32 495 511.653
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive: http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
>
> CONFIDENTIALITY NOTICE: This email (and any related attachments)
> contains information from InfoPlus (a service of Bristol Capital,
> Inc.). It is intended only for the addressee and may contain
> information that is confidential and/or otherwise exempt from
> disclosure under applicable law. If you are not the intended
> recipient or are acting as agent for the intended recipient, any use
> or disclosure of this communication is prohibited. If you have
> received this communication in error, please notify us immediately to
> arrange for the appropriate method of returning or disposing of the
> communication. If our respective Companies have confidentiality
> provisions in effect, this email and the materials contained herein
> are deemed CONFIDENTIAL and should be treated accordingly unless
> expressly provided otherwise.
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive: http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************