Why do you want to generate all the new words?
Why not use blocks or objects?
I have thousands of lines of rebol script and
rarely use more than 3 or 4 global words per script.
I mostly use local words and global objects.
Can you explain more what you are trying to do?
Then I'm sure people will be able to help...
-----Original Message-----
From: Gisle Dankel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 8:56 AM
To: '[EMAIL PROTECTED]'
Subject: [REBOL] Re: Generating words and global variable space
Hi Doug,
I don't think this is the solution.
Let me illustrate the problem:
forever [to-word join 'x counter: counter + 1]
>> counter: 0
== 0
>> forever [to-word join 'x counter: counter + 1]
** Internal Error: No more global variable space
** Where: to-word
** Near: to word! :value
>> use [new-word] []
** Internal Error: No more global variable space
** Near: to word! :value
I need to generate lots of new words without filling up the global
variable space. It seems this is not possible.
Gisle
On Thu, 22 Mar 2001, Vos, Doug wrote:
> Is this what you are looking for?
> >> help use
> USAGE:
> USE words body
>
> DESCRIPTION:
> Defines words local to a block.
> USE is a native value.
>
> ARGUMENTS:
> words -- Local word(s) to the block (Type: block word)
> body -- Block to evaluate (Type: block)
> >>
>
> -----Original Message-----
> From: Gisle Dankel [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 22, 2001 8:02 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Generating words and global variable space
>
>
>
> Hi list,
>
> do anyone know of a way to generate words without running out of global
> variable space?
> E.g. generating them in a local context?
>
> Gisle
>
>
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.