B4J Question Ending a Sub

Reinierus

Member
Licensed User
Longtime User
Hello.
Maybe this is an old question, but I need to terminate a Sub, like Exit Sub in VB6.

B4X:
If vrCursor.NextRow=True Then
        vrCursor.Close
        vrSQL.Close
        Exit Sub
End If
' If not, continue with the rest of the sub
'


There is a way to do that?

Thanks a lot
 
Top