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 / String + Number?

Author
Message
Sk8ing Link08
18
Years of Service
User Offline
Joined: 26th Mar 2006
Location:
Posted: 25th Apr 2006 21:57
Really simple I know but...
How do I combine a Number with a String?
For Example:
number = 1
String$ = "Number: "
and What I want is *** Number: 1 ***
I know String$ + number doesen't work

Um...
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 25th Apr 2006 22:21
Text$ = String$ + STR$(number)

Sk8ing Link08
18
Years of Service
User Offline
Joined: 26th Mar 2006
Location:
Posted: 25th Apr 2006 22:59
YEY!! (My Hero )

Um...
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 25th Apr 2006 23:01
Incase you're wondering, the VAL command converts a string to a value as well.

So;



Would print 10.

Login to post a reply

Server time is: 2024-09-24 21:38:28
Your offset time is: 2024-09-24 21:38:28