[REBOL] Re: Global Variables
From: tim:johnsons-web at: 30-Oct-2001 11:16
On Tue, Oct 30, 2001 at 01:37:21PM -0600, office wrote:
> Ok, TIM:
>
> It worked.!!!!! Thanks..
>
> Now my understanding (lights on) is that I can develop a library with a
> list of favorite and standard functions, and call them at will, as long as
> I call DO %LIBRARY.R first..
>
> Correct?
In a word... yes.
> John
>
> At 08:12 AM 10/30/2001 -0900, you wrote:
> >On Tue, Oct 30, 2001 at 11:00:03AM -0600, office wrote:
> > > Is it possible to write global variables or global functions and call them
> > > from other scripts?
> > >
> > > //john
> >Hello John:
> > Perhaps you mean to "import" a "library" file as in
> > do %stdlib.r
> > now 'html-newline becomes a global variable.
> > I am referring specifically to script files that
> > I (believe) I sent you.
> >
> > You may then make a global "constant" by
> > protect 'htm-newline
> >
> > Is this what you are looking for?
> >
> >--
> >Tim Johnson <[tim--johnsons-web--com]>
> > http://www.johnsons-web.com
> >--
> >To unsubscribe from this list, please send an email to
> >[rebol-request--rebol--com] with "unsubscribe" in the
> >subject, without the quotes.
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com