primitive

A Primitive is a NetLogo command, reporter, or other word or symbol built-in to NetLogo. In other languages such words might be called “reserved words”, “built-ins”, or “internals”. Any NetLogo code word that is not “user-defined” or provided via the NetLogo JAVA API, is a primitive.

Examples of NetLogo primitives include ”globals”, an environment keyword; ”diffuse”, a command; ”sqrt”, a reporter; ”red”, a color constant; ”with”, an operator; and ”foreach”, an iterator;.

A word is “primitive” in contrast to “user-defined”. In NetLogo, it is possible to create user-defined commands, reporters, breeds, and variables

See the primtive dictionary for the list of all NetLogo primitives.

 
gloss/primitive.txt · Last modified: 2008/03/19 13:21 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki