[REBOL] Re: Problem? load %script.r - howto retrieve all!!??
From: greggirwin:mindspring at: 17-Mar-2002 21:25
Hi Norman,
<< When loading or reading a file I would like to know ALL
the functions, blocks, etc..that where actived while loading the
file. There is no such command like "source loaded-script"
(Im now always using [ loaded: read %example.r ]) but thats a too
workaround.. >>
I think someone did cook up a function to look at system/words, then look at
it again after loading a script, then using DIFFERENCE, or something like
that.
You could also, depending on the script you're loading, load it as a block
and then use make object! on it to bind it to a parent object (just for
reflection purposes), then probe that object to see what it contains.
--Gregg