int to string

BlitzMax Forums/BlitzMax Programming/int to string

Okay, this should be basic stuff, but I can't find it anywhere...

something like this:

score%=100
a$="The score is "+str$(score)

Okay, apparently you can concatenate an int with a string without conversion:

Local lv$="level_"+level+".txt"

to convert any type to another type do something like mytype(myvar) so it would be

score%=100
a$="The score is "+String(score)

Yeah str$ is obsolete because you can use String() to convert to a string, more in keeping with how you use Int() or Float() etc.