Link to home
Start Free TrialLog in
Avatar of shacho
shacho

asked on

Redim Preserve - Basic Question

I want to turn this array...

a(1) = "foo"
a(2) = "bar"

...into this array...

a(1,1) = "foo"
a(1,2) = "bar"

...using Redim Preserve.  I am sure it's possible.  But I can't work out the syntax.

Avatar of shacho
shacho

ASKER

Does this not work with lbound 1 arrays?
Avatar of shacho

ASKER

a.k.a. "base 1" arrays?
Avatar of shacho

ASKER

a(0,0) = "foo"
a(0,1) = "bar"

would also be fine.

Point is I want to figure out how to use Redim.
SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shacho

ASKER

Oh well.  Thanks for the comments.