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

[REBOL] Re: Source code modules.

From: rotenca:telvia:it at: 31-Mar-2004 19:50

Hi,
> 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" > ] > >> read %test.r
== "test: func [a ] []"
>> probe ob: context load %test.r
make object! [ test: func [a][] ] --- Ciao Romano