Re: Problem Help

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Hi
> I am trying to get this to work can you guys help?
> I need to display a score on a bmp this is what I have tried
>
> procedure right1()
>     score=score+1
>     score1={score} --      Trying to get it into a seq
>     putsxy({350,40},score1,0,9,'a')
> end procedure
>
> But when I run it it gives me the charcter code for the number 1 what I need
> it to do is give me the 1

try:
    score1 = sprintf("%d", score)
this will transform it into a sequence.

>
> I can do it with print but i can not change the background for just the #
> only
> Hopes this helps


 | Gratis e-mail en meer: http://www.dolfijn.nl/
 | Een product van Ilse: http://www.ilse.nl/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu