Convert Int to String

BlitzMax Forums/BlitzMax Beginners Area/Convert Int to String

Arabia(Posted 2013) [#1]
I feel stupid asking this, I haven't touched Blitz in ages.

Trying to print the Mouse to the screen and I get a "Cannot covert Int() to String" error on

Print MouseX

I know it's something simple I'm missing, searched the forum and the online manuals and for the life of me I can't find out what I'm doing wrong. The help within the IDE says that Int to String is handled automatically or you can cast it. So I tried casting it with:

local s: string

s = string(mouseX)

with no luck.


GfK(Posted 2013) [#2]
Print MouseX()


MouseX() is not a variable - it's a function of BRL.PolledInput.


GfK(Posted 2013) [#3]
double post


Arabia(Posted 2013) [#4]
Knew it was something simple I was doing wrong, thanks very much.