[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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