choudhuryshouvi 33 Posting Pro

Hi, can any one tell me how to create standalone variables during runtime.

This is what we generally do in design mode when we need to create strings of fixed length like -

dim x as string * 5

now i want to do such things dynamically. suppose i need to declare 2 individual variables in runtime of string type. as i don't know how much i need to declare, i can't declare it in design time. now if my requirement is 2 then there should have 2 vars. been declared like -

dim x1 as string * 5
dim x2 as string * 6

one more thing is that i can't use arrays in this case because also i need to define their lengths. because i think in array we can create elements dynamically but how could we define length to each & every elements in that array?

So, is there any way to overcome this?

Plz... i really need to figure this out.
So plz help me on this.

It will be great if i got such links/resources where i can get such similar things.

Thanks to advance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.