English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am a VB6 learner. I am getting names of variables by adding some strings through a program code. I want to access the contents of these memory variables so formed. For example:
Dim A as string
Mem1=1
Mem2=2
Mem3=3
Mem4=4
Mem5=5
for i = 1 to 5
A="Mem"+ltrim(str(i))
Print
end for

How do I achieve this? Please help.

2007-05-09 19:09:39 · 1 answers · asked by Jain 4 in Computers & Internet Programming & Design

1 answers

This llink seems to answer your question.

2007-05-09 19:43:08 · answer #1 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers