SRL Archive - Help and Support

Question about something, just read.


maxzzz

2006-03-11 15:15:20

Writeln('The coords of your mouse position are ' +inttostr(gx) +inttostr(gy));

This will give me: The coords of your mouse position are (for example) 234452, in the box.

What do I need to do to get this: The coords of your mouse position are 234,452 ? To get the comma between the 2 inttostr..?

The Prince of Randomness?

2006-03-11 15:22:00

Writeln('The coords of your mouse pos are'+IntTostr(Gx)+','+IntToStr(Gy));

maxzzz

2006-03-11 15:26:48

Ok, thnx.
I tried Writeln('The mouse pos is' +inttostr(gx) ',' +inttostr(gy)); But forgot the +..
Thnx.