Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Integar to String

Author
Message
KamaKase
21
Years of Service
User Offline
Joined: 29th Oct 2002
Location:
Posted: 14th Apr 2003 18:13
Is it possible to change an integar variable to a string?? Because I have a large amount of files named "1.x" "2.x" etc... It would be easier to just inc filevar than if filevar = 3 then filevars$= 3 etc...
So I can load object "" + filevar$ +".x",2
If that's how you do it anyway. (doing it off the top of my head)

Thanx guys!
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 14th Apr 2003 18:20
a=1
print str$(a)

or the other way round,

a$="123"
print val(a$)

Gronda, Gronda
KamaKase
21
Years of Service
User Offline
Joined: 29th Oct 2002
Location:
Posted: 19th Apr 2003 02:00
Oooohh, Thankyou..That's much better than the ASCII number thingy I was using. Thanx!

Login to post a reply

Server time is: 2024-09-20 06:47:59
Your offset time is: 2024-09-20 06:47:59