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.

DarkBASIC Discussion / Hey, i've just bought DB, I need help on a very simple code! ASCII!

Author
Message
rkd
22
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 19th Jul 2003 16:01
I wanna create a conversation!

This is what i want the final result to look like this!

What is your hometown???

Hometown> [Their Hometown]

So you live [Their Hometown]


I know the rest but i wanna know how i can put there input in the next sentence????

Thanx!
BobCat
21
Years of Service
User Offline
Joined: 1st Jun 2003
Location:
Posted: 19th Jul 2003 16:14 Edited at: 19th Jul 2003 16:16
You might want to try something like this:



A quick explaination :
The input command waits for text and a press of the return key and stores the information given in the variable a ( live?",a)

The print command prints it and the semi-colon allows you to print a variable as well.

Just copy the code into DB and see.

>^..^< >^..^<

Login to post a reply

Server time is: 2025-05-19 10:36:17
Your offset time is: 2025-05-19 10:36:17