Sorry, due to non-Harbour things, I can't do this now,
not to mention testing or any sort of deeper involvement.
Brgds,
Viktor
On 2010 Feb 1, at 14:49, AbeB wrote:
>
> Hi Viktor,
>
> Just replace lines comparing nTimeout to < 0 to <=0
>
> ( nTimeout < 0 .OR. ( hb_milliSeconds() -
Hi Viktor,
Just replace lines comparing nTimeout to < 0 to <=0
( nTimeout < 0 .OR. ( hb_milliSeconds() - nStartTime ) < nTimeout
)
to
( nTimeout <= 0 .OR. ( hb_milliSeconds() - nStartTime ) <
nTimeout )
and add at the end of the loop, just before the EndDo
if nTimeout
From: abe.b...@att.net
> To: harbour@harbour-project.org
> Subject: [Harbour] Re: 24 hour wait loop in telephaty
>
>
> will this fix it?
>
>
> #define MS_PERDAY (24*60*60*60*60)
>
> nDone := (Seconds() + iif( nTimeout >= 0, nTimeout, 0 ) ) % MS_PERDAY
>
>
>
will this fix it?
#define MS_PERDAY (24*60*60*60*60)
nDone := (Seconds() + iif( nTimeout >= 0, nTimeout, 0 ) ) % MS_PERDAY
AbeB wrote:
>
> Hi All,
>
>
> these lines (and similar ones) in contrib\hbtpathy\telepath.prg
> will cause in to wait 24 hours if executed before midnight.
>
>