Android Question define routine to return Boolean Array

Robert Valentino

Well-Known Member
Licensed User
Longtime User
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
 

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I am very confused.

Today I started up and compiled "NO Changes" and everything works as it should.

Very sorry about this post. It was not working yesterday.


Maybe a problem with the debugger and emulator. I know a few times I hit the F8 key while in the emulator (where I thought I was in the debugger) and that causes a crash where next time I try to start a debugging session it does not even see the emulator and I have to kill the emulator and restart it.

Might just be the left hand was not talking to the right hand

Thanks
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…