Hi, Thanks for the response
Question did you read the original bug - it does sum-up the problem
However, in my case I created a code module (lets called it myModule)
Sub Process_Globals
Public constant X1 as string = "First string" & X2
Public constant X2 as string = "Second string"
Public constant X3 as string = X1 & X2
Then a separate class/activity used these constants (lets call it myClass).
Private xxx as string = myModule.X1 ' xxx = "First string" ' **** the second half is missing (X2 defined after X1)
Private yyy as string = myModule.X3 ' yyy = "First stringSecond string" ' ** X3 was defined after X2 therefore it is correct!
As you can see the order of definition appears to by important for B4A.
Having said all that, I may have made a error in my code and have to "eat my works!"
Kind regards
Dave