----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 1999 10:48 PM
Subject: [REBOL] A function bug


> Hi, Rebols,
> 
> found this:
> 
> >> block1: [do func[f [any-function!]] [print "OK"] func [x] [print "OK"]]
> == [do func [f [any-function!]] [print "OK"] func [x] [print "OK"]]
> >> block2: [do func [f [any-function!]] [print "OK"]]
> == [do func [f [any-function!]] [print "OK"]]
> >> append block2 :f
> == [do func [f [any-function!]] [print "OK"] func [x][print "OK"]]
> >> do block1
> OK
> >> do block2
> ** Script Error: none is missing its x argument.
> ** Where: do func [f [any-function!]] [print "OK"] func [x][print "OK"]
> 
> Take care
> 
> Ladislav
> 
 == [do func [f [any-function!]] [print "OK"] func [x][print "OK"]]
if this is your block2, where have you passed x to it when you do block2 ?
I agree with REBOL here, x is missing.
Or am I missing the point?

Cheers,

Allen K


Reply via email to