[REBOL] Fw: REBOL Feedback: 'Script set to 'none after %User.r is processed. [#
From: AJMartin::orcon::net::nz at: 11-Aug-2003 17:26
Andrew J Martin
ICQ: 26227169
http://www.rebol.it/Valley/
http://valley.orcon.net.nz/
http://Valley.150m.com/
-><-
----- Original Message -----
From: <[feedback--rebol--com]>
To: <[AJMartin--orcon--net--nz]>
Sent: Monday, August 11, 2003 4:19 PM
Subject: REBOL Feedback: 'Script set to 'none after %User.r is processed.
[#38a510380]
> We tested by putting a DO %/C/... in our user.r
> file, it worked fine. SOURCE SOURCE also worked fine.
>
> The word SCRIPT was being exported by mistake.
> So, we removed it.
>
> To get info about your scripts, use:
>
> system/script
>
> or
>
> system/options
>
> These fields are valid on all versions of REBOL.
>
> -REBOL Support
>
> -------------------------------------------------
> Feedback: #38a510380
> From: [AJMartin--orcon--net--nz]
> Contents:
>
> Earlier, I wrote (on the mailing list):
> > > * Core 2.5.6 officially released.
> >
> > Hmmm, I've got a problem with this version of Rebol on Windows XP. When
I
> > put:
> > do %/C/Rebol/Values/Values.r
> > inside %user.r, I get strange behaviour. When I 'do the above line in
the
> > console, they all work as expected. (The above scripts also work OK with
> > Rebol/View.)
> >
> > Here's an example of the strangeness:
> > >> source source
> > none
> > == source
>
> And I found what is causing the problem!
>
> Here's Rebol/View with _none_ of my Values scripts loaded:
>
> >> rebol/version
> == 1.2.8.3.1
> >> script
> ** Script Error: script has no value
> ** Near: script
>
> And here's the new Rebol/Core 2.5.6, again with _none_ of my Values
scripts loaded:
> >> rebol/version
> == 2.5.6.3.1
>
> >> script
> == none
>
> The word 'script is used in Rebol/Core's start up and is set to 'none
_after_ %user.r is processed. That means that any script that assigns a
value to 'script, is going to fail under Rebol/Core 2.5.6.