O ondesic Active Member Licensed User Longtime User Sep 3, 2011 #1 I was wondering (and REALLY hoping) that B4A supported more than one statement in the IF-THEN condition. Is this possible: IF statement OR statement2 THEN ??
I was wondering (and REALLY hoping) that B4A supported more than one statement in the IF-THEN condition. Is this possible: IF statement OR statement2 THEN ??
K Kamac Active Member Licensed User Longtime User Sep 3, 2011 #2 Yes. You do it like: B4X: if i_like_cookies = true AND i_am_hungry = true then 'Eat cookies end if it should work. Upvote 0
Yes. You do it like: B4X: if i_like_cookies = true AND i_am_hungry = true then 'Eat cookies end if it should work.
O ondesic Active Member Licensed User Longtime User Sep 3, 2011 #3 Thanks, I didn't see this in the examples or documentation. Upvote 0
K Kamac Active Member Licensed User Longtime User Sep 3, 2011 #4 Yep. Me neither, but it seems to be easy enaught i guess. Upvote 0
K kickaha Well-Known Member Licensed User Longtime User Sep 3, 2011 #5 Damn, I want some cookies now Upvote 0