I think I remember some people using commands like print$("Text") or something like that when I was looking at some source code around here. The thing is, I've never seen that before. Is there somewhere you can direct me that might have some tutorials/resources on how to program win32 console applications?
Thanks,
Titan
Hi Titan,
The print statement is a macro from Hutch's masm32 package. Have a look at c:\masm32\macros\macros.asm to view the source code. Also, you can check masm32.hlp with the help file to get information about uısefull console functions.
Titan,
Here is a good tutorial on Win32 Console programming. The source code is C++ but the concepts apply and the Win32 functions are the same.
http://www.adrianxw.dk/SoftwareSite/Consoles/Consoles1.html
MSDN: Character-Mode Applications (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/character_mode_applications.asp)
Titan,
Have a look at the tutorials in MASM32 and how they use the macro system from masm32. Code like,
cls
print "Hello World"
Is contained in the masm32 macro system using the masm32 library that can produce very clean and simple code for console IO.
Thanks for your responses, I think I've gotten my answer. :U
And yep hutch, I found the great \tutorials\console\ directory with some excellent examples of using the console. :clap:
Thanks again,
Titan