Nasal: Bug fix
This commit is contained in:
parent
ba0191046e
commit
ab0a04b044
|
@ -2,13 +2,14 @@
|
|||
#//Sidi Liang, 2021
|
||||
io.include("library.nas");
|
||||
|
||||
var universalVariableDebug = Debugger.new("Information Node");
|
||||
var universalVariableDebug = Debugger.new("Universal Variable");
|
||||
universalVariableDebug.setDebugLevel(2);
|
||||
|
||||
var Variable = {
|
||||
#//The class for a "universal variable"
|
||||
#//testingVariable = Variable.new("test", "testing", "This is a node for testing", 0, 1, 1, "/systems/testingNode");
|
||||
new: func(name, value = 0, note = nil, readOnly = 0, usePropertyTree = 0, listenPropertyTree = 1, property = nil){
|
||||
var m = {parents:[InformationNode]};
|
||||
var m = {parents:[Variable]};
|
||||
m._name = name;
|
||||
m._value = value;
|
||||
m._note = note;
|
||||
|
|
Loading…
Reference in New Issue