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
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