Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array in a Class
#1
I need to store a byte array within my 'clsAccount' class file.

I have it like this:

Code:
Private account_Buffer() As Byte

But I keep pulling up an error whenever I try and call Player(index).Buffer

Here's my get/let:

Code:
Public Property Get Buffer() As Byte
    Buffer = account_Buffer()
End Property

Public Property Let Buffer(ByVal vData As Byte)
    account_Buffer() = vData
End Property

I also tried:

[code]
Public Property Get Buffer(ByVal iI As Long) As Byte
If iI >= 0 And iI = 0 And iI
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)