Sleep command

ben.butler at w16.co.uk ben.butler at w16.co.uk
Wed Mar 4 16:52:03 EST 2015


Why not end method after starting a timer object passing $cinst.$ref as a paramater in setting it up and have another call back method the timer calls when it evaluates the true or false condition? 

On 4 March 2015 21:46:18 GMT+00:00, Bastiaan Olij <bastiaan at basenlily.me> wrote:
>Hi JM,
>
>Thats what I started with but it has the side effect that Omnis starts
>hogging the processor as its madly executing the loop....
>
>Cheers,
>
>Bas
>On 4/03/2015 6:40 pm, Jean Marc Azerad wrote:
>> Hi Bas
>>
>> This is what I do:
>>
>>
>> Calculate iCT as #CT+600
>> While #CT<iCT
>> 	; do nothing
>> End While
>>
>> Easy to fine tune
>>
>> JM
>
>_____________________________________________________________
>Manage your list subscriptions at http://lists.omnis-dev.com

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the omnisdev-en mailing list