two small questions

BlitzMax Forums/BlitzMax Beginners Area/two small questions

Okay, first question is, how do I print a result of an input into the same line, where I'm asking for another input? Here's my code.

Local name:String=Input("What is your name? ")
StandardIOStream "Hello, " +name+ ". "

Local age=Byte(Input("Hello, " +name+ ". I was wondering how you are?"))
Print "I see. " +age+ " old."

That StandardIOStream is just because I was advised to use it, but the guy trying to help me did not have time to help me to the end. I tried everything myself like Local StandardIOStream and StandardIOStream.TStream with no success.

Second question: I tried to create a random number generator. The code:

Test = Rand(1,8)
Print Test

For this I also got some advice to use RndSeed(millisecs), but I didn't quite catch the idea by using BlitzMax's help menu for RndSeed()

Cheers
Mindfield

can't you just use print?
I'm not sure what you're trying to do, but this works just fine:
Local name:String=Input("What is your name? ")
Print "Hello, " +name+ ". "

Local age=Byte(Input("Hello, " +name+ ". I was wondering how you are?"))
Print "I see. " +age+ " old."

About the random.. use SeedRnd(Millisecs())
The SeedRnd() command will take a parameter which will set a new seed for the random generator.
When you use millisecs() you make sure that the other random commands will actually be random.

I just thought it'd be cleaner to have the answer written on the same line, because I want to focus on story-rich action adventures and rpg's.

You probably wouldn't want to use input/print though.