I don't understand lexical vs dynamical scoping, but yes: nouns are put on the stack as values, while everything else is put on the stack as a name.

Henry Rich

On 11/7/2016 11:53 PM, Xiao-Yong Jin wrote:
On Nov 7, 2016, at 6:26 PM, Henry Rich <[email protected]> wrote:

Yes - verbs are different from nouns.  Verbs are passed by name, nouns by 
value.  I talk about that in the Wiki page I mentioned in the previous post.
One thing not obvious from the wiki page is how adverbs and conjunctions 
behave.  I just tested it and it seemed that they behaved like verbs.  Is it 
correct to say that nouns are lexical scoped and others are dynamical scoped?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to