Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: intersting side-effect to dynamic word usage...

From: brett:codeconscious at: 16-Nov-2001 10:25

Hi Max,
>.... which also seems to instantly > add the word in system/words, even if you're inserting it in a block > directly.
As far as I know, system/words is updated with every word defined in Rebol by whatever means they are created. Larry Palmiter has pointed out that there is a finite limit to the number of words that are created in the order of a few thousand I believe. While this sounds limiting, in practise I've never hit this limit with my programs. Also some clever people have shown how one can determine if a word in system/words is defined globally or not. Based on this there are a couple of tools floating around that can show what global words you have created by mistake perhaps. To see an example try my Rebsite "Code. C." and click on "Library List". A list of programs will appear. If you left click on a program name you will see the source code. If you right click on a name the script will be run inside of a function that determines what new global words are set by that script. The results are displayed as a simple list. Cheers, Brett.