I'm just making sure I get fully what you're asking. Essentially, something like Java's method of including libraries like "import x.y.z" for more 'refined' control of what's included? Only, instead of copying the extraneous code into the compiled result, do something more like (I'm not using totally proper REBOL, I know; demonstration purpose): math: link rdb://math.rlib ... ... result: math/tally arg1 arg2
Where 'rdb' refers to a site and port for a REBOL database, and 'rlib' refers to REBOL library, and accessing a specific function within the math.rlib could be used like accessing a member of a block. Of course, it would require the script be executed in a networked environment (you could re-define the REBOL library database with rdb://anothersite.com/inet.rlib) of some flavor - but most people executing REBOL already are. Is this what you mean? I asked Carl about this a while back, but it was kind of long - he might have skipped it, or taken me for someone who never looked at IOS ;) --Charles > Currently for my various rebsite scripts I use load-thru as a way of > re-using code. > > Sometimes I think it would be nice to have all functions contained within a > single script, but obviously maintenance would be a pain. Rugby's build idea > attracted me. It might be nice to have a library of code snippets which can > be assembled/generated into scripts on demand. Ie reuse of code via direct > inclusion. One advantage over my current re-use technique would be that the > scripts would only instantiate what was required to make them run rather > than, as is now, potentially creating functions, etc that are never > evaluated. > > Directly including code is not for every system, but for many situations has > very useful properties. Given that Rebol scripts are destined to fly over > the net such a system would be quite useful. > > Brett. > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
