This function sets the validity state of a variable.
Prototype:
var result = setVariableValid(string variable name, bool
valid);
or
var result = setVariableValid(number index, number subindex,
bool valid);
Parameters:
·
variable name: String with an existing variable name
·
index/subindex: Alternatively to a variable name string a combination of a variable index
and subindex.
·
valid: Boolean with false = invalid and true = valid.