I am new to using Visual Basic and am trying to learn something about the 6.0 version. Having a problem in the area of one-dimensional arrays. After I create an array using a Dim statement and declare the values that I want, I assume that if I make another statement later it will replace the value of the original?
Dim strFamily(3) as String
strFamilyArray(1) = "Jeff"
strFamilyArray(2) = "Kay"
strFamilyArray(3) = "Billy"
--- strFamilyArray(2) = "Patrick"
In a similar light does this work using operators or what result should I expect?
Dim curPay(1 to 3) as Currency
curPay(1) = "500"
curPay(2) = "100"
curPay(3) = "300"
---curPay(2) = curPay(2) + 10 ---wasn't sure what value would be in the (2) spot with this statement, or if it would give an error message?
Thank you for your help, if you need any more info let me know~