D Dey Active Member Licensed User Longtime User Sep 25, 2024 #1 hello everyone B4XPage eg. Wait For (obj) Result (value as int) must always be called by CallSubDelayed2(mCallBack,"Result") or CallSub2(mCallBack,"Result") can also work
hello everyone B4XPage eg. Wait For (obj) Result (value as int) must always be called by CallSubDelayed2(mCallBack,"Result") or CallSub2(mCallBack,"Result") can also work
Sagenut Expert Licensed User Longtime User Sep 25, 2024 #2 I don't understand exactly what you are asking. Could you post some code you are trying and explain a bit further what should happen? Upvote 0
I don't understand exactly what you are asking. Could you post some code you are trying and explain a bit further what should happen?
Erel B4X founder Staff member Licensed User Longtime User Sep 25, 2024 #3 Please use [code]code here...[/code] tags when posting code. CallSub can work in some cases but it is safer to use CallSubDelayed. Otherwise your code can reach the CallSub call before reaching the Wait For call. Upvote 0
Please use [code]code here...[/code] tags when posting code. CallSub can work in some cases but it is safer to use CallSubDelayed. Otherwise your code can reach the CallSub call before reaching the Wait For call.
D Dey Active Member Licensed User Longtime User Sep 25, 2024 #4 Erel said: Please use [code]code here...[/code] tags when posting code. CallSub can work in some cases but it is safer to use CallSubDelayed. Otherwise your code can reach the CallSub call before reaching the Wait For call. Click to expand... Please use [code]code here...[/code] tags when posting code. true yes!.. thanks for the reply Upvote 0
Erel said: Please use [code]code here...[/code] tags when posting code. CallSub can work in some cases but it is safer to use CallSubDelayed. Otherwise your code can reach the CallSub call before reaching the Wait For call. Click to expand... Please use [code]code here...[/code] tags when posting code. true yes!.. thanks for the reply