namelengthmax
Return the maximum variable name length.
📝Syntax
R = namelengthmax
📤Output Arguments
Parameter Description
R a double: the maximum variable name length
📄Description

namelengthmax: Nelson allows 4096 as maximum length for variables and structures field names.

💡Examples
Working: identifier length 4096 characters
ID = ['A', char(double('0') * ones(1, namelengthmax -1 ))];
length(ID)
STR = [ID, ' = 3'];
execstr(STR)
Not Working: identifier length 4097 characters
ID = ['A', char(double('0') * ones(1, namelengthmax))];
length(ID)
STR = [ID, ' = 3'];
execstr(STR)
🔗See Also
execstr
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub