[REBOL] Re: Defect in Rebol/Core 2.5.6
From: AJMartin:orcon at: 10-Aug-2003 22:07
Earlier, I wrote:
> > * 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:
>> 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.
The temporary fix for Rebol/Core 2.5.6 is to not assign a value to the word
'script.
The long term fix is for Rebol HQ to put 'script into a 'use block or
object! context?
Andrew J Martin
ICQ: 26227169
http://www.rebol.it/Valley/
http://valley.orcon.net.nz/
http://Valley.150m.com/