Hello [EMAIL PROTECTED]!
On 06-Lug-00, you wrote:
d> If we do:
d> view layout [
d> button "Howdy Gang!" [print "Rebol is cool"]
d> button "Quit" [quit]
d> inform-error "Title Text" "This is some error text." "Okay"
d> ]
d> We still will not get the inform-error function called which
d> really was the part that confused me the most as the parser
d> (interpreter) perceives this as a 'style.
VID is a dialect; the syntax is not the same as that of "normal"
REBOL code. It allows you to execute code to calculate parameters
for styles, but it is made to layout styles, not to execute REBOL
code.
The function LAYOUT interprets the block you are passing to it in
its own way; you can't expect it to execute it as it was a code
block, because it isn't: LAYOUT has its own interpreter (wich you
can see with SOURCE LAYOUT if you want).
Regards,
Gabriele.
--
Gabriele Santilli <[EMAIL PROTECTED]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/