cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nosrednayduj
Level 7

maximum length of variable?

Anyone know how to find out the maximum length of a variable? I'm creating a script in a custom code and storing the value in a variable X, and then executing bat file with contents $X$. But what if the script gets really long? How many characters can I put in the variable? I can't seem to find anything useful in the documentation.
Labels (1)
0 Kudos
(1) Reply
yossiz
Level 3

I'm not aware of any limitation, we use variables to store pretty long text strings such as instructions to the user, error messages etc.
I would assume that, since the tool is Java-based, the maximum string size is that of Java (which is, for all practical uses, unlimited).
0 Kudos