rebol3

How are words bound within a Rebol module?

半城伤御伤魂 提交于 2019-11-28 06:53:54
I understand that the module! type provides a better structure for protected namespaces than object! or the 'use function. How are words bound within the module—I notice some errors related to unbound words: REBOL [Type: 'module] set 'foo "Bar" Also, how does Rebol distinguish between a word local to the module ( 'foo ) and that of a system function ( 'set )? Minor update, shortly after: I see there's a switch that changes the method of binding: REBOL [Type: 'module Options: [isolate]] set 'foo "Bar" What does this do differently? What gotchas are there in using this method by default? OK,