R RB Smissaert Well-Known Member Licensed User Longtime User Jan 1, 2019 #1 It looks B4A doesn't have this loop construction: Do Loop It is not a problem as I can do: Do While 0 = 0 Loop Just want to make sure I am not missing anything. RBS
It looks B4A doesn't have this loop construction: Do Loop It is not a problem as I can do: Do While 0 = 0 Loop Just want to make sure I am not missing anything. RBS
DonManfred Expert Licensed User Longtime User Jan 1, 2019 #2 What are you trying to archieve? You cannot hold the mainthread. Android will kill your app after a short time with an ANR Error. Upvote 0
What are you trying to archieve? You cannot hold the mainthread. Android will kill your app after a short time with an ANR Error.
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2019 #3 What are the semantics of Do...Loop ? B4X: Do While True If x = 34 Then Exit Loop ? Upvote 0
R RB Smissaert Well-Known Member Licensed User Longtime User Jan 1, 2019 #4 DonManfred said: What are you trying to archieve? You cannot hold the mainthread. Android will kill your app after a short time with an ANR Error. Click to expand... This particular code can never cause an endless loop. There is user input and there are Returns. RBS Upvote 0
DonManfred said: What are you trying to archieve? You cannot hold the mainthread. Android will kill your app after a short time with an ANR Error. Click to expand... This particular code can never cause an endless loop. There is user input and there are Returns. RBS
R RB Smissaert Well-Known Member Licensed User Longtime User Jan 1, 2019 #5 Erel said: What are the semantics of Do...Loop ? B4X: Do While True If x = 34 Then Exit Loop ? Click to expand... Thanks, Do While True is a bit neater indeed. RBS Upvote 0
Erel said: What are the semantics of Do...Loop ? B4X: Do While True If x = 34 Then Exit Loop ? Click to expand... Thanks, Do While True is a bit neater indeed. RBS