[REBOL] Re: Bind function
From: al:bri:xtra at: 27-Oct-2000 20:47
> When experimenting with html page generation, I found the 'bind func into
the rebdoc.r script. I didn't find any explanation neither in the Core guide
nor in the REBOL Official Guide...
> Can anyone explain me the use of this function, for example in :
>
> html: bind html 'html
Here's the code:
;-- HTML Template for the Doc:
html: load {
<HTML>
<HEAD><TITLE>title</title></HEAD>
<BODY BGCOLOR="white">
...
html: bind html 'html ; make it's words useful
Unless I've missed something subtle, it's no use as 'load already binds the
block resulting the string to the global context.
Try commenting the line out. I believe the script will still work correctly.
Andrew Martin
ICQ: 26227169
http://members.nbci.com/AndrewMartin/