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

[REBOL] Re: (no subject)

From: media:quazart at: 5-Nov-2001 10:32

Just loading a rebol file will include and bind it to the global context! load %/path/to/include.r if some values must be computed or set within the include at its root level, then I have found that sometimes an explicit "do" must be performed right after the load as in: do load %/path/to/include.r my cgi server includes practically everything that is served... this enables me to have templates which I fill-up as the user requests particular data. For example, I have a cgi-driven make-doc file viewer which uses this method for separating visuals and content data. -Max