Byte array

  • Thread starter Thread starter iMaiden
  • Start date Start date
I

iMaiden

I'm trying to put the following in an array

Dim snapBuffer1(3533600) As Byte 'raw video data
Dim snapBuffer2(3533600) As Byte 'raw video data
Dim snapBuffer3(3533600) As Byte 'raw video data

something like this:

Dim snapBuffer(12)(3533600) As Byte 'raw video data

is there a way to do what i'm after?
 
iMaiden said:
I'm trying to put the following in an array

Dim snapBuffer1(3533600) As Byte 'raw video data
Dim snapBuffer2(3533600) As Byte 'raw video data
Dim snapBuffer3(3533600) As Byte 'raw video data

something like this:

Dim snapBuffer(12)(3533600) As Byte 'raw video data

is there a way to do what i'm after?

Check out the documentation on arrays (and especially jagged arrays).
 
Back
Top