----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 04, 1999 3:41 PM
Subject: [REBOL] Wait doesn't?


> 
> The documentation for wait says:
> 
> "If the value is a TIME, delay for that period. If the value is a
> DATE/TIME, wait until that DATE/TIME. "
> 
> I would think that this would wait for 5 mins
> 
> wait 00:05 ; which it does
> 
> and so should this
> 
> wait now/time + 00:05 ; which does not

Hi Graham

This second one also creates a time! value, not a Date/Time
eg. now/time + 00:05
== 17:13:03

To create a date/time that just add the extra time to the date like so
eg. now + 00:05
== 4-Dec-1999/17:13:03+10:00 

So your wait statement becomes...
 
wait now + 00:05


Cheers,

Allen K


> 
> 
> -------
> Regards,        Graham Chiu
> gchiu<at>compkarori.co.nz
> http://www.compkarori.com/dynamo - The Homebuilt Dynamo
> http://www.compkarori.com/dbase - The dBase bulletin
> 
> 

Reply via email to