[REBOL] Question on Wait Re:
Help wait agrees with your observation. It reports help wait ARGUMENTS: value -- (Type: number time port block) No mention of date. At 10:46 AM 5/9/00 -0800, you wrote: 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. ;- Elan [: - )]
[REBOL] Question on Wait Re:(2)
Thanks Elan. ::Help wait agrees with your observation. It reports :: help wait ::ARGUMENTS: :: value -- (Type: number time port block) ::No mention of date. Your response begs the questions: Is the Rebol Dictionary incorrect ? How do you fire off an event at a certain time of the day (say at 10:30, do something?) If you specify a time, it will wait for that time, not till that time? Mike.
[REBOL] Question on Wait Re:(3)
How do you fire off an event at a certain time of the day? What I am doing is computing the difference between launch time and 'now, and waiting for that period of time. - Michael Jelinek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 09, 2000 12:41 PM To: [EMAIL PROTECTED] Subject: [REBOL] Question on Wait Re:(2) Thanks Elan. ::Help wait agrees with your observation. It reports :: help wait ::ARGUMENTS: :: value -- (Type: number time port block) ::No mention of date. Your response begs the questions: Is the Rebol Dictionary incorrect ? How do you fire off an event at a certain time of the day (say at 10:30, do something?) If you specify a time, it will wait for that time, not till that time? Mike.
[REBOL] Question on Wait Re:(3)
There's a bug in the documentation or the implementation of 'wait. I believe it was reported some time ago, but I can't yet recall when. Andrew Martin ICQ: 26227169 http://members.xoom.com/AndrewMartin/ -- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, 10 May 2000 7:40 AM Subject: [REBOL] Question on Wait Re:(2) Thanks Elan. ::Help wait agrees with your observation. It reports :: help wait ::ARGUMENTS: :: value -- (Type: number time port block) ::No mention of date. Your response begs the questions: Is the Rebol Dictionary incorrect ? How do you fire off an event at a certain time of the day (say at 10:30, do something?) If you specify a time, it will wait for that time, not till that time? Mike.