R
rocco
Hello
i declared a variable
dim myvariable as string
I need it to hold as many characters as possible. It is in a loop. It's
value can go from being only one character to be more the 20,000.
Now..
When I run my code, it comes out that it holds a maximum of 255 characters.
I have seen in the help that there are two kinds of string data type:
fixed lenght: holds a maximum of around 65,000
variable lenght: holds near 2 billion characters.
But as far as I know you can just declare a variable as string...you don't
have option to choose which kind of *string*. And why is it said that the
smaller can hold around 65,000 characters when mine holds a max of 255?
Thanks...
i declared a variable
dim myvariable as string
I need it to hold as many characters as possible. It is in a loop. It's
value can go from being only one character to be more the 20,000.
Now..
When I run my code, it comes out that it holds a maximum of 255 characters.
I have seen in the help that there are two kinds of string data type:
fixed lenght: holds a maximum of around 65,000
variable lenght: holds near 2 billion characters.
But as far as I know you can just declare a variable as string...you don't
have option to choose which kind of *string*. And why is it said that the
smaller can hold around 65,000 characters when mine holds a max of 255?
Thanks...