#34731 - 2003-01-02 08:09 PM
Re: Max Length of a Variable
|
kholm
Korg Regular
   
Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
|
In KiX-versions prior to 4.0 this was the rules for variablenames were:- Can't contain operator characters (+,-,*,/,&,<,>,=)
- Must not exceed 14 characters.
- Must be unique within the same scope, which is the range from which the variable can be referenced in a script, or script segment.
From KiX-version 4.0 and upwards the rule: Must not exceed 14 characters. Is omitted from the documenteation, so I gues we will have to ask Ruud if the length of variablenames can be anything up til 32000 in KiX 4.+ ???
Until then you might consider 14 as the maximum length.
I have seen somewhere in the old documentation, that you can use longer names than 14, but anything in the name after the 14’s char will be ignored.
Example: $ThisIsLongChar $ThisIsLongChar2
Will both be treated as the same variable: $ThisIsLongCha
-Erik
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 484 anonymous users online.
|
|
|