How to convert a variable to a string variable for use with plot text

Hello I have a small problem with a game I am currently making. here is some code from my game....

CASE 5
FOR m = 1 to 5
IF dice1(m) = 5 then
LET five = five + 5

END IF
NEXT m

In this code the variable that is being recorded is "five" with

LET five = five + 5

But I am using an image for a score card, so I have to use plot text. Here is my plot text code...

PLOT TEXT, AT 200,245: five$

I need some thing to let five = five$

I tried the following...

CASE 5
FOR m = 1 to 5
IF dice1(m) = 5 then
LET five$ = five$ + 5

END IF
NEXT m

But I got a wrong type error.

I also tried the following...

LET five = five$

that got errors as well.

Any one please help me with this problem.

Comments

String version of a numeric variable ...

bubbachunk ... This exact same subject was addressed in a Forum message from 'crazydrummer2010' back on 12/15/09. Do you know this person? Regards ... Tom M

no

I don't believe I know this person. They say they are making a roulette board, My class is just finishing up yahtzee. But then again it might be one of my classmates just making a game on his own time. I will check Monday. I hope so Because i think it would be fun to make a roulette game.

numbers and strings

Hi,

I sent you an email on this subject but for the benefit of others:

To convert numbers to strings use:
LET string$=STR$(number)

To convert string$ to numbers use:
LET number=VAL(string$)

Big John

Thank You

Thank you this really helps a lot.