Modules.nas: Difference between revisions

Jump to navigation Jump to search
Line 200: Line 200:
|param1 = namespace
|param1 = namespace
|param1text = The Nasal namespace the module code will be loaded into.
|param1text = The Nasal namespace the module code will be loaded into.
}}
==== setlistenerRuntimeDefault() ====
{{Nasal doc
|syntax = mymod.setlistenerRuntimeDefault(i);
|text = This changes the default setlistener behaviour for this module regarding 4th ('runtime') argument. FG default is 1 (=run listener every time the prop is written to), but you might want a default of 0 for your module (= run listener only, if value has changed). This is kind of a convenience function. It is better to explicitly specify the desired parameters when calling setlistener().
|param1 = i
|param1text = integer, 0..2 define the default value to setlister 4th parameter if not specified explicitly
}}
}}


252

edits

Navigation menu