I had to add a constant into compiler options -> constants, which was:
#TEST = "123"
But this seems to be swapped into #TEST = 123, because this here ends-up with a "Bad parameter type, string expected" error:
Code: Select all
Debug Len(#TEST)
Code: Select all
Debug Len(#TEST)
add a constant into compiler options -> constants
Sorry... I missed that 'complier options' part. (even though you made it obvious)HeX0R wrote: Wed Aug 13, 2025 12:34 pm did you really follow the description?add a constant into compiler options -> constants
Code: Select all
; #TEST = ~"123"
Debug #TEST ; Result: ~"123
Code: Select all
#TEST$="123"
Code: Select all
Debug Len(#TEST$)
Code: Select all
Debug #TEST ;| 123
Debug Len(#TEST) ;|4 ; <-> treated as a string.because of the SPACE ?
Debug Val(#TEST) ;|123