Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Bind function

 [1/4] from: coussement:c:itc:mil:be at: 26-Oct-2000 15:16


Hello list: 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 Thanks a lot, and keep the REBOLution up ! ;-)) Christophe

 [2/4] from: lmecir::geocities::com at: 26-Oct-2000 21:57


You can find some help in Rebol Dictionary, Rebol Help, or: http://www.sweb.cz/LMecir/contexts.html Regards Ladislav

 [3/4] 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/

 [4/4] from: coussement:c:itc:mil:be at: 30-Oct-2000 9:17


Ladislav: Thanks for for your writing: I've learned a lot about the subject ! I only can advise it to anyone having unanswered questions about context and binding. Christophe