Not knowing basic very well, I am trying to return an Array of Booleans and cannot seem to do this
I have tried a bunch of different prototypes and returned the Boolean array a few different ways
Sub GetSelected() As Boolean()
Dim SelectedPins(10) As Boolean = Array As Boolean(False, False, False, False, False, False, False, False, False, False)
For I = 0 To 9
Selected(I) = m_Pins(I).IsSelected()
Next
Return SelectedPins
End Sub
How do I return any Array of Booleans?
What gets returned is a Single Boolean
Thanks
Bob Valentino
I have tried a bunch of different prototypes and returned the Boolean array a few different ways
Sub GetSelected() As Boolean()
Dim SelectedPins(10) As Boolean = Array As Boolean(False, False, False, False, False, False, False, False, False, False)
For I = 0 To 9
Selected(I) = m_Pins(I).IsSelected()
Next
Return SelectedPins
End Sub
How do I return any Array of Booleans?
What gets returned is a Single Boolean
Thanks
Bob Valentino