It has this (which I've seend before)
Constants:---------
"" Quote = Chr$(34)
vbCr CRLF = Chr$(10)
vbCrLf none
but doesn't explain why we have a cbCr and a CRLF on one line to define a consant. Which one do you use? The vbCR or the CRLF? Or either?
Ok so that means for B4A we just declare like this:
B4X:CRLF = Chr$(10)
...if we don't need vb6?
Label.Text = "Line 1" & CRLF & "Line 2"
You have to dim it like other variables
Dim DEFAULT_BUTTON = 50
Dim DEFAULT_BUTTON As Int
DEFAULT_BUTTON = 50
That's not a Constant because I can change it's value. It's just a normal variable. Constants (in other languages) cannot be changed.
If that is how B4A implements 'Constants' then it's not really a constant.