Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

Type ... End Type 64K Limit

Is there any way to get around the 64K limit with Type...End Type?  I have a huge list of strings defined and would like to avoid breaking it down into a billion type statements if possible.  Code will help.
0
dokken
Asked:
dokken
  • 2
  • 2
1 Solution
 
lawnrangerCommented:
Make the strings variable length (they only take 4 bytes) and then you can have about 16,000 strings. Is that enough?
0
 
dokkenAuthor Commented:
16,000 would be more than enough.  I actually just tried removing the fixed lengths.  So far no problems, but I'm still adding all the data.  So, no matter how big each string is I shouldn't run into any memory errors right?
0
 
lawnrangerCommented:
If its VB5 the string length limit is huge 2^31 chars I think. Does thie get the points? =:)
0
 
dokkenAuthor Commented:
Good, I can avoid a million type...end type's :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now