[REBOL] Re: Source code modules.
From: bga:bug-br at: 31-Mar-2004 14:27
Hey Gregg.
Please do. Unfortunatelly what I need is a lot simpler than what STELL
provides so there is no point in using it (although STEEL looks really
cool).
I guess the real problem I have is that I don't know how to "include" the
code that is in a module file in a way it would be bound to a context. For
instance, I would like to create a file that would have the following
function defind on it:
test: func [ ] [
print "Hello"
]
And I would like to load it inside a context so I could do something like:
test-context: context [
; The test function should be here somehow
]
And then, be able to do:
test-context/test
And get the desired results.
Thanks.
-Bruno
Gregg Irwin disse: