From the Blitz Command Reference:
But this doesn't appear to be possible.
a$ = "5"
num = a$
Of course this code won't compile... "Error! Variable type mismatch." ...of course! So how does this work???
If you wish to convert from a string to a number, there is no equivalent Val command. Instead, simply assign the string variable into a numeric variable, and Blitz will implicitly convert it.
But this doesn't appear to be possible.
a$ = "5"
num = a$
Of course this code won't compile... "Error! Variable type mismatch." ...of course! So how does this work???