Hello,

The following is taken from the Rebol Dictionary, describing WAIT.


If the value is a TIME, delay for that period.
If the value is a DATE/TIME, wait until that DATE/TIME.
If the value is an INTEGER or DECIMAL, wait that number of seconds.


Testing with TIME and INTEGER works fine.


>> forever [print now/time wait 60 print now/time break ]
10:18:33
10:19:33
>> forever [print now/time wait 00:01:30 print now/time break ]
10:20:12
10:21:43

However when i try to specify a DATE/TIME, i get the following


>> forever [print now/time wait 9-May-2000/10:30:00 print now/time break ]
10:24:08
** Script Error: wait expected value argument of type: number time port
block.

The error seems to suggest that WAIT only expects a TIME and not a DATE?
Am i missing something?

Thanks.

Mike.



Reply via email to