[REBOL] Re: Newbie question - using text-view.r
From: gjones05:mail:orion at: 8-May-2001 7:25
From: "Júlio César Santana"
> Hi all,
>
> I' ve been folowing this list for over a week and I think it is
fantastic.
> Besides I'm still reading the CORE manual (quite huge!) and also
trying to
> understand the VIEW concepts there are several points I still don't
know
> how to do.
> How can I call the code in text-view.r script (or include it in my
script)
> so it can show a specific file?
> TIA,
>
> Julio Cesar
Hi, Júlio,
Welcome to the list.
If I understand your question correctly, it sounds as though you are
wanting to have one script call in the code from another script. I am
not familiar with that specific script, so your I may be missing the
point of your question. If the script to be called is in the current
directory, try:
do %view-text.r
REBOL reads and evaluates the code. If you wish to read in the code for
later use, one way to accomplish this task is to:
a-script: load %view-text.r
;later (... in a galaxy far far away)
do a-script ;to evaluate the previously loaded code
Hope that helps.
--Scott Jones