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

Dey

Active Member
Licensed User
Longtime User
Where is the Wait For code?

SubExists is not really required in most cases.

Thanks Erel,
There are so many tests I'm doing to integrate IMPORTANT new features
In a very large solution
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…