In article 001101bf3e28$aa6da6b0$cda093cb@AWK, [EMAIL PROTECTED]
writes
So your wait statement becomes...
wait now + 00:05
Hi Allen,
This gives an error
** Script Error: wait expected value argument of type: number time port
block.
---
Regards,Graham Chiu
Hello [EMAIL PROTECTED]!
On 03-Dic-99, you wrote:
l Request #1: This shows how CURRIED handles errors (argument C
l is not allowed, because it isn't between the formal args of
l FUN). Can somebody show me, how to MAKE ERROR! so, that I
l could say which args are incorrect - those in
Is it possible to make a sound (like a beep) from REBOL?
Jerry,
I'm sure many others of us here would enjoy seeing all your functions, if
you'd like to share them. Well, I would! :)
Russ
---
At 10:39 AM 12/4/1999 -0500, you wrote:
Larry,
Did you find the math functions useful? I have improved many of them and
can send you the revised versions if
[EMAIL PROTECTED] wrote:
How fast does Rebol run compared to C scripts?
Thanks!
Speed is not always the issue. Look also at another factors, e.g.
language expressibility ...
-pekr-
I can appreciate that Rebol is easier to use but at what cost?
Perhaps a better question
Hi Rebols
I got a question about tcp-redirection
The story so far
Somehow I infected my computer with the Backdoor-G trojan, thats no problem
for me, because I use a firewall...
A few minutes after I went online, the intruder tries to access at a certain
port...
(Of course I block
Or how about a groan from everyone in re off-topic messages?
Russell [EMAIL PROTECTED]
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 04, 1999 8:39 AM
Subject: [REBOL] Objects: Preventing Code Duplication Re:(11)
Is it possible to make a
Just to distract you guys from your re-entrant and functional
programming discourse, here's the second iteration of my reminder
script. It's been working since yesterday paging me on my cell phone at
the right times so seems to work. It should cover instances where I
have reminders that are
Feel free to download my two scripts from www.rebol.org and post them on
your site. They're two games, Tactix and PushOver, and should serve as good
examples of using REBOL for "ordinary" programming not involving messaging,
servers, etc. Besides, the games are interesting and challenging.
Congratulations, Graham!
You've either found a problem in the REBOL documentation or a bug in
'wait.
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. "
help wait
Waits for a duration, port, or both.
Graham asked:
I would also prefer to do without the quotes around days of the week
and months. Suggestions and fixes welcomed.
Simply do without the quotes! And don't 'reduce the blocks. Like this
example:
Weekdays: [
Monday
Tuesday
oz: make object! [
zz: use [zz] [
func [/set set_zz] [either set [zz: set_zz] [zz]]
]
]
oz/zz/set 23
== 23
oz/zz
== 23
oz/zz/set 25
== 25
oz/zz
== 25
probe oz
make object! [
zz: func [/set set_zz][either set [zz: set_zz] [zz]]
]
Now my only problem is
In article 19991204211703.GVLA50393.mta4-rme@andrew, [EMAIL PROTECTED]
writes
Simply do without the quotes! And don't 'reduce the blocks. Like this
example:
Weekdays: [
Monday
Tuesday
Wednesday
Thursday
Friday
Here is Ackerman's function in REBOL
ack: func [m n] [
either zero? :m [:n + 1]
[either zero? :n [ack (:m - 1) 1]
[ack (:m - 1) ack :m (:n - 1)]]]
The Ackermann function is the simplest example of a well-defined
'total function' which is computable but not 'primitive recursive'.
Russell,
Sorry about that. I didn't realize the topic was copied when I sent a
message. I will be more careful in the future.
Jerry
In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes
As promised
;msg: to-string read/binary %test/hl7/h024.hl7
hl7: make object! [
msgtype: make block! 2
Hi,
I finally had some time to try this out today, and I get the following
error..
** Syntax Error: Missing ] at
Hi, I'm quite new to the language and as I found great difficulty in
assigning user input to be a particular datatype.
For instance, I checked out webfinder.r where there's a series with a
pre-determined list of urls for Rebol to fetch, but any attempts on my part
to put an Ask statement
Just use to-url on the string:
u: ask "type a url "
type a url [EMAIL PROTECTED]
== "[EMAIL PROTECTED]"
type? u
== string!
uu: to-url u
== [EMAIL PROTECTED]
type? uu
== url!
Of course that can all be put on one line:
uu: to-url ask "Type a rul "
Have fun!
Russell [EMAIL PROTECTED]
-
18 matches
Mail list logo