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 / Can text be used for displaying text and variables ?

Author
Message
Newbie5UK
20
Years of Service
User Offline
Joined: 13th Nov 2004
Location:
Posted: 3rd Dec 2004 01:01
I want to use the "text" command instead of "print" see below:

(Print "Player One", score)

It seems the (text "Player One",score) does not work as text needs text display only...

How can I use text to replace Print in this instant..

THX
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 3rd Dec 2004 01:12
you need to do like this:





Hope it helped

wanna join Waggames?
then visit our site at : http://www.freewebs.com/waggames
my old forum name was: The Nerd
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 3rd Dec 2004 01:31
The Nerd obviously didn't test his code before posting.

What you need to do is use STR$() to convert numbers to text, like this:



Boo!

Login to post a reply

Server time is: 2024-11-13 18:42:03
Your offset time is: 2024-11-13 18:42:03