[REBOL] Bug? 'func not really 'func Re:
From: lmecir:geocities at: 10-Oct-2000 10:29
Hi Andrew,
1)
zot1: make function! [
"Defines a user function with given spec and body."
[catch]
spec [block!] {Help string (opt) followed by arg words (and opt type and
string)}
body [block!] "The body block of the function"
][
throw-on-error [make function! spec body]
]
source zot1
Result:
zot1: func [
"Defines a user function with given spec and body."
[catch]
spec [block!] {Help string (opt) followed by arg words (and opt type and
string)}
body [block!] "The body block of the function"
][
throw-on-error [make function! spec body]
]
2)
zot2: func load mold third :func copy/deep second :func
Load Mold is needed instead of Copy/deep (I think, that you will find out
why)
3)
FYI Throw-on-error simply executes, that's all.
HTH Ladislav
----- Original Message -----
From: <[Al--Bri--xtra--co--nz]>
To: <[list--rebol--com]>
Cc: <[feedback--rebol--com]>