Hello Maxim. It looks amazing ad I will eentually take a deeper look into it. Right now, it appears to provide way more than what I need so I will just try to figure out another way to do it (and I will learn in the process which is good).
Thanks. -Bruno Maxim Olivier-Adlhoch disse: > > slim your code! > > > www.rebol.it/~steel/libraries/ > > -MAx > --- > "You can either be part of the problem or part of the solution, but in > the end, being part of the problem is much more fun." > > >> -----Original Message----- >> From: Mauro Fontana [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, March 31, 2004 9:51 AM >> To: [EMAIL PROTECTED] >> Subject: [REBOL] Re: Source code modules. >> >> >> >> On Wed, 31 Mar 2004 10:47:41 -0300 (BRT), Bruno G. Albuquerque >> <[EMAIL PROTECTED]> wrote: >> >> > >> > Hello. >> > >> > So, I am working on one project where I will need a way to create >> "modules" of Rebol code that will be loaded by a main >> script. How would >> > I >> > go about loading those modules from disk in a way that >> would be easy to >> > access that code in the main script? This is what would happen: >> > >> > 1 - Scan a dir for modules. I will probably be looking for >> files with >> > specific extensions here. >> > >> > 2 - Load a specific module. Here is the trick part. What I >> was thinking >> > is >> > that each module would have a function that I would call >> inside it to do >> > whatever is needed. As I intend to download all modules at >> once when the >> > main script starts, the functions on each module would have to have >> different names. How to keep track of those names? Also, >> how to load the >> > modules? "do %modulefile" is the best way? >> > >> > 3 - Access module functions. >> > >> > Any ideas? >> >> Why not a standard API for all the modules? >> >> M&F >> >> >> >> >> -- >> To unsubscribe from this list, just send an email to >> [EMAIL PROTECTED] with unsubscribe as the subject. >> >> > > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.