Sleep command
Mike Matthews
omnis at lineal.co.uk
Wed Mar 4 02:41:51 EST 2015
At last, a replacement for a $timer or a simple repeat loop looking at #CT. I shall try and read more then.:)
Mike
Mike Matthews,
Managing Director, SQLWorks Software Ltd
Tel: +44 (0)1271 375999
Email: mike.matthews at sqlworks.co.uk
Web: www.sqlworks.co.uk
SQLWorks replaces Sage, ACT!, Opera, Access, SAP
On 4 Mar 2015, at 04:48, Reg Paling <Reg.Paling at Lokanet.com> wrote:
> Hi Bas,
>
> From the Studio v6.1 Whatsnew61.pdf:
>
> sleep() Function
> A sleep() function has been added to allow you to suspend method execution for a specified
> length of time. The function sleep(milliseconds) suspends execution for the specified
> number of milliseconds, and returns true if execution was suspended successfully or false if
> an error occurred. Note this function is not available in client-executed methods.
>
> I wonder what sort of error could cause it to return false, and what you could do about it if you trapped it?
>
> Cheers,
> Reg
>
>
> On 4/03/2015 3:40 pm, Bastiaan Olij wrote:
>> Hi All,
>>
>> Does Omnis have a sleep function where it just pauses for a few
>> milliseconds?
>> I need to halt execution of a method for a brief period of time to give
>> an external process a moment to finish and in this case I can't really
>> solve it with a timer..
>>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list