PureBasic - Console
Overview
This library allow the programmer to create console mode applications. This is used to create small programs which don't require a user interface or which should be used in script (command line). Also, such commands are really useful to help the programmer to debug a program by printing out some information on the console, without stopping the program flow.
If your application really is a full console application (and not just a a GUI application which sometimes opens a console) then you must remember to set the executable format to 'Console' when you are compiling your programs.
You should start with the OpenConsole() command, since you must use that command to open a console (character mode) display window before you use any of the other commands in this library
Please note, that if you create console programs with PureBasic you will still need Windows 95 or above to run them. They use the prompt of Windows and they are NOT real MSDOS programs!
Command Index
ClearConsole
CloseConsole
ConsoleColor
ConsoleCursor
ConsoleLocate
ConsoleTitle
Inkey
Input
OpenConsole
PrintN
Example
Console.pb
Supported OS
Windows, Linux, MacOS X