M
Marc Miller
Hi all,
I need to store a list of modules.functions() in an array
and then loop thru the array and call the functions. I
have not been able to get any code to work.
Here's what I need to do:
dim myArr(3) as string
myArr(0) = "MyModA.Func1()"
myArr(2) = "MyModA.Func2()"
myArr(3) = "MyModB.Func1()"
myArr(4) = "MyModB.Func2()"
dim iCnt, iRet as integer
FOR iCnt = 0 TO myArr.Length -1
iRet = myArr(0)
NEXT iCnt
I know why this doesn't work, but I
don't know how to figure out how to approach it.
Any help will be much appreciated.
Thanks,
Marc Miller
I need to store a list of modules.functions() in an array
and then loop thru the array and call the functions. I
have not been able to get any code to work.
Here's what I need to do:
dim myArr(3) as string
myArr(0) = "MyModA.Func1()"
myArr(2) = "MyModA.Func2()"
myArr(3) = "MyModB.Func1()"
myArr(4) = "MyModB.Func2()"
dim iCnt, iRet as integer
FOR iCnt = 0 TO myArr.Length -1
iRet = myArr(0)
NEXT iCnt
I know why this doesn't work, but I
don't know how to figure out how to approach it.
Any help will be much appreciated.
Thanks,
Marc Miller