Hello,
I want to know two things, the first: How can i build a program that do something like this:
Enter Your Name: <name>
Hello <name>
<name> is what the user have typed.
Best Regards,
Nathan Paulino Campos
try this...
Hi,
This has been addressed before, see for instance:
get useriput
http://www.masm32.com/board/index.php?topic=12054.0
Buffered Input.[solved]
http://www.masm32.com/board/index.php?topic=10689.0
But a summary: Use DOS String Output function 2 to
print your prompt. Use function 0AH, Buffered Keyboard
Input to read the name. Modify the input to put a dollar
sign at the end of the name. Use String Output twice to
output your response and the name.
HTH,
Steve N.
I'm using dedndave example, but how i can store the inputed characters in a variable.
Thanks
it is stored in a variable - the buffer
are you talking about converting numeric input into a binary value ?
Thanks very much!
Are you programming in DOS ?
we are in the 16-bit forum
Sorry, it's 32 bits. :(
Then I think this thread got wrongly created or moved here :P
i didn't see any 32-bit code - lol
the example i gave you isn't 32-bits, either