Hello Matthias & All: wlscope, "wordlist scope", is a deferred word which enables AmForth appl to choose the wordlist for a new voc entry based on its name. For example, put all created words whose name begins with a tilde (~) on a private wordlist. The default action is get-current.
Please find in <http://pastebin.com/KEWfnWNz> a tested new patch for your review against AmForth r1400. This patch enables do the following: ====================================================================== wordlist constant private : scope ( c-addr u -- c-addr u wid ) over c@ [char] ~ = if private else get-current then ; ' scope is wlscope ---------------------------------------------------------------------- > private show-wordlist ok > 911 value ~sos ok > private show-wordlist ~sos ok ====================================================================== I agree, the above is just "semantical sugaring" to the normal use of wrappers: get-current private set-current 911 value ~sos set-current Don't know about you guys, I prefer sweetening my AmForth coffee :-) Regards, Enoch. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel