on Nov 27th, 2017, 06:03am, RobM wrote:| I would not have thought the length of a variable name would make any difference at all. |
|
Typically it will make a difference in the case of a language that supports the EVAL function (like Liberty BASIC and BBC BASIC) because the original variable names must be retained in the running program in case they are referenced that way:
Code: input "Enter the name of a variable: ";var$
print "That variable currently has the value ";EVAL(var$)
BBC BASIC provides a 'compiler directive' that allows the programmer to specify which variable names need to be retained, and which don't (the default), which provides the best of both worlds. But - although in principle it could have done - LBB has not inherited this feature.
Richard.