1. Problem Help
- Posted by David Mosley <david1 at GEOCITIES.COM> Dec 28, 1998
- 435 views
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 I can do it with print but i can not change the background for just the # only Hopes this helps also I read a threed a little while ago about include files and 2 people trying to use the same var name I know that when you run bind it will change it for you if it comes accross this problem,so why not make the ex.exe file do the same just have it change at runtime when the program ends then have it change back.Just a thought because this is going to be a problem with include files I have ran into this myself. David Mosley david1 at geocities.com pmosley at infoway.lib.nm.us
2. Re: Problem Help
- Posted by Ad Rienks <kwibus at DOLFIJN.NL> Dec 29, 1998
- 431 views
> 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/