Posts: 91
Threads: 24
Joined: Oct 2010
Reputation:
0
What is the maximum length for string Variable?
Posts: 1,801
Threads: 27
Joined: Mar 2009
Reputation:
0
Really, really big. The maximum 32 bits number I think. But it isn't recommended to be big.
Posts: 854
Threads: 154
Joined: Jun 2012
Reputation:
0
IstuntmanI is right, but it also depends on what you set it for, how you are using it, and what you are using it for...
EX:
new string[168] has a maximum length of 168.
new string [1000] has a maximum length of 1000.
Posts: 142
Threads: 5
Joined: Mar 2013
Reputation:
0
Also, if you're using a SendClientMessage, the limit is 144
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Much longer than you'll ever need. The longest string you'll ever need is for a dialog or mySQL query. The max length of a dialog's main text is 2048, though Kye said he would consider increasing this, perhaps to 4096.