This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: maximum length of variable?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 06, 2012
02:25 PM
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 07, 2012
03:37 AM
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).
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).
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)