|
-
Nov 6th, 2002, 08:43 PM
#1
Thread Starter
Addicted Member
getting value byte array - why is this n/w?
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
-
Nov 6th, 2002, 08:49 PM
#2
Lively Member
did you assign any string to byte array?
-
Nov 6th, 2002, 08:53 PM
#3
Thread Starter
Addicted Member
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()
-
Nov 6th, 2002, 09:04 PM
#4
I wonder how many charact
Would set the lowest element as 71.
Therefore, rArray(1) should actually give you an out of bounds exception....
-
Nov 6th, 2002, 09:07 PM
#5
Thread Starter
Addicted Member
Thanks, that clears it up a lot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|