I have a class that has a fixed size array Doublelike
Private m_values(8) as Double
What is the correct syntax methods Letand Getan array?
Public Property Let Values (RHS(8) as Double)
m_values = RHS
End Property
Public Property Get Values() as Double
Values = m_values
End Property
Specific parts of the syntax that I don't understand about:
a. The method Lethas RHS(8) as Doublethe correct way to pass an array of 8 Double?
b. Can I copy one array to another just using the assignment? (e.g. m_values = values)
p. GetIs it correct for the method to declare a function, as Doubleor should it be something like as Double(8)?
source
share