The following line is interpreted correctly in B4A and B4J but in B4i the CHR() is ignored and the numbers in the CHR are simply concatenated to the string.
No error is thrown.
B4X:
Dim TestCrypt As String = $"t%yg&^${Chr(222)}${Chr(222)}${Chr(200)}${Chr(195)}"$
B4A, B4J - t%yg&^ÞÞÈÃ
B4I - t%yg&^222222200195
Correction - B4i seems to be completely ignoring CHR(). I tried to set the value in Sub Initialize and the result was the same:
B4i ver 8.30 (64bit)
This caused me no end of grief because I was counting on a constant being the same in all three versions of the app. I have the following line in class globals of a b4xpages project. [CODE lang="b4x" title="Dim TestCrypt As String = $"t%yg&^${Chr(222)}${Chr(222)}${Chr(200)}${Chr(195)}"$"]...
This caused me no end of grief because I was counting on a constant being the same in all three versions of the app. I have the following line in class globals of a b4xpages project. [CODE lang="b4x" title="Dim TestCrypt As String = $"t%yg&^${Chr(222)}${Chr(222)}${Chr(200)}${Chr(195)}"$"]...
The really sad part, for me, is I went through my whole troubleshooting procedure AGAIN ti figure out what was wrong.
The good new: With age comes acceptance - and patience.