Limit on number of word definitions?
[1/2] from: terry:depotcity at: 6-Feb-2001 16:33
Hello all.
I recall reading about the limitations on the total number of words that can be defined?
What is the total number of words, and when/will it be expanded?
Thanks,
Terry Brownell
[2/2] from: larry::ecotope::com at: 6-Feb-2001 18:47
Hi Terry,
Here is a simple way to find out for any version of REBOL.
REBOL/core (Experimental) 2.4.40.3.1
Copyright 1997-2000 REBOL Technologies
REBOL is a Trademark of REBOL Technologies
All rights reserved.
>> repeat j 4000 [set to-word join 'word [j] j]
** Internal Error: No more global variable space
** Where: to-word
** Near: to word! :value
>> length? first system/words
== 4094
>>
So current expers allow 4094 words total. Of course, they can be reused any
number of times and also defined in many distinct contexts.
-Larry