Android Question 7.0 BETA 3 WAIT For nesting

Dey

Active Member
Licensed User
Longtime User
B4X:
example
Sub Test
 Inquiry (1)
    WAIT FOR query_resulted
     ... continue
End sub

Sub Request (i as int)
... code required
WAIT For Richiesta_resultato
      CallsubDelayed (Me, "query_resulted")

End sub
 

Dey

Active Member
Licensed User
Longtime User
Upvote 0

Dey

Active Member
Licensed User
Longtime User
You need to post the relevant code.
B4X:
    'Crea WAIT FOR
     If SubExists(Me,"TavoliRichiestaSingolo_result") Then
            CallSubDelayed2(Me,"TavoliRichiestaSingolo_result",s_t)
     End If
     If SubExists(mCallBack,"ULV_DB_Tavolo_Aggiorna") Then
            CallSubDelayed2(mCallBack,"ULV_DB_Tavolo_Aggiorna",s_t)
     End If

It is correct on WAIT For Sub_Request
put
If SubExists (Me, "Sub_Request") then
...
End if
 
Upvote 0
Top