mr23 Active Member Licensed User Longtime User Jan 19, 2016 #1 This also seems to apply to strings used for Char variable tests, with at least IDE 5.5? B4X: Dim c as Char If c = """" Then ... """" should end up as a just one <doublequote>. This comparison works in 5.5 in debug (Legacy tested), but in release it fails, while B4X: If c = CHR(34) Then ... does work in release. Note: question moved from https://www.b4x.com/android/forum/threads/weird-behaviour-in-debug-mode-why.61715/#post-394382
This also seems to apply to strings used for Char variable tests, with at least IDE 5.5? B4X: Dim c as Char If c = """" Then ... """" should end up as a just one <doublequote>. This comparison works in 5.5 in debug (Legacy tested), but in release it fails, while B4X: If c = CHR(34) Then ... does work in release. Note: question moved from https://www.b4x.com/android/forum/threads/weird-behaviour-in-debug-mode-why.61715/#post-394382
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2016 #2 I'm unable to reproduce it. I've tried with this code: B4X: Dim c As Char = """" Log(c) If c = """" Then Log(True) Else Log(False) Upvote 0
I'm unable to reproduce it. I've tried with this code: B4X: Dim c As Char = """" Log(c) If c = """" Then Log(True) Else Log(False)