Lets say I define a few words:
Word1: 5
Word2: "blahdiddyblah"
Is there some part or block of the system that stores which words are in use?
Tried something like this but it failed:
S1: to-block copy system/contexts/user
D: 3
S2: to-block copy system/contexts/user
Difference s1 s2
According to @johnk suggestion, I tried:
>> snapshot-of-words: words-of system/contexts/user
== [system snapshot-of-words words-of contexts user]
>> x: 1
== 1
>> difference snapshot-of-words words-of system/contexts/user
== [x difference]
>> difference snapshot-of-words words-of system/contexts/user
== [x difference]
>> 5 + 9
== 14
>> form ["hellow" "there" ]
== "hellow there"
>> difference snapshot-of-words words-of system/contexts/user
== [x difference + form]
What does this mean? native functions are bound into the user context after use? Is there a way to isolate these from those a user might bind?
load-gui
hasn't really been modularized yet, so I would expect that it would leak a lot of words into the user context. Don't assume that any words you find are leaked intentionally unless they're documented, and maybe not even then. If you're trying to help them clean things up, that would be cool. – BrianH Jul 18 '13 at 23:46