Numbering Arrays Dynamically?

# Thread: Numbering Arrays Dynamically?

1. Senior Member
Join Date
Dec 1969
Posts
228

## Numbering Arrays Dynamically?

&nbsp;<BR>Is there any way to write they ary1 in the first part of my equation as "ary"&x so I can generate it dynamically?<BR><BR>array1= ary1 + ar1 + "?#\$" <BR><BR>(something like "array"&x="ary"&x + "ar"&x "#\$?" -- which won&#039;t work of course)<BR><BR>I am creating arrays, and I don&#039;t know how many there will be each time, and I don&#039;t know how to test if an array exists (can you check?)<BR><BR>So I would like to do it dynamically, based an integer I can grab from my table.<BR>

2. Senior Member
Join Date
Dec 1969
Posts
5,104

## RE: Numbering Arrays Dynamically?

You would need to create an array of arrays.<BR><BR>Yes, you can check to see if a variable is an array by doing:<BR>If IsArray(var) Then<BR> &#039;you have an array<BR>Else<BR> &#039;you don&#039;t have an array<BR>End If<BR><BR>-Doug

3. Senior Member
Join Date
Dec 1969
Posts
203

## RE: Numbering Arrays Dynamically?

Man, you&#039;re all over the questions these past few days... are you on Christmas break/vacation or in between jobs? :)

4. Senior Member
Join Date
Dec 1969
Posts
5,104

## RE: Numbering Arrays Dynamically?

Neither actually... I take a minute or two jumping between windows.<BR><BR>VB, Interdev, SQL Manager, Component Services, IE 1 (local app), IE 2 (aspmessageboard)...<BR><BR>Just can&#039;t seem to get interested in what I&#039;m working on, so this is a nice outlet.<BR><BR>-doug

5. Senior Member
Join Date
Dec 1969
Posts
203

## LOL!

Boy, I hear that :)<BR><BR>1/4 staff &#039;cause of the holidays + code freeze until New Year&#039;s = me taking a break from boring documentation

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•