|
From: Erich W. <ew....@na...> - 2010-07-04 11:31:34
|
Hello, On 07/04/2010 12:46 PM, pito wrote: > Andy, after I rised the Q I did it directly with my dev system. Frankly > the way how it works is changing my understanding for "interactivity". > Basically you cannot delete wrong words so the space occupied will grow. > Imagine my apollo picosatellite flying in the space and I am tweaking > the sw in its guidance computer. So I have to have at least a chance > activate/deactivate specific words. As I've seen the forth manual the > last definition of a word is valid. So you may have many words with > same name, however the last one will be used (am I right?) for "following" > usage. Imagine wordlist: >> words > navigate distance position sinus sinus speed height sinus .... > > The Q: which sinus word will be used in speed and height calculations? Assuming height calls sinus. When height is compiled, it searches for sinus in the current wordlist. So it finds > navigate distance position sinus sinus speed height sinus .... ------------------------------------------------------^^^^ this one. HOWEVER, sinus is redefined twice. When position is compiled, it will find > navigate distance position sinus sinus speed height sinus .... -----------------------------^^^^^ this one. Same when you call it interactively in this state of definitions. And redefining sinus will *NOT* change the reference to the older version of sinus in height. I'm sure you have consulted http://home.iae.nl/users/mhx/sf.html Chapter 9 (under the hood) gives a brief outline, how dictionary entries are organized. Cheers, Erich |