<< persistent | Memory manager functions | varlock >> |
state = varislock(scope, variable_name) |
a string: 'global', 'base', 'caller', 'local'.
a string: variable name.
varislock returns true if variable_name has been declared as locked variable and false otherwise.
y = 3;
varislock('local', 'y')
varlock('local', 'y')
varislock('local', 'y')
y = 4
varunlock('local', 'y')
varislock('local', 'y')
y = 4
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET