why is this not working?
It should give me the value in the first position of the byte array, yes?
VB Code:
MsgBox ("rArray 1: " & rArray(1))
Thanks for any help
- Jake
Printable View
why is this not working?
It should give me the value in the first position of the byte array, yes?
VB Code:
MsgBox ("rArray 1: " & rArray(1))
Thanks for any help
- Jake
did you assign any string to byte array?
yeah using this:
VB Code:
Dim o1RB As Byte, tfTarg As Long, rArray() As Byte Get #f, 11, o1RB ReDim rArray(71 To o1RB) Get #f, 71, rArray()
VB Code:
ReDim rArray(71 To o1RB)
Would set the lowest element as 71.
Therefore, rArray(1) should actually give you an out of bounds exception....
Thanks, that clears it up a lot.