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