Console IO¶
The console module provides basic functions for IO operations on the stdin and stdout of battleWarden.
Functions¶
OpenConsole(title as string) as void¶
Description:
Opens the console for IO operations.
Parameters:
- title: specifies the title of the console.
Return Value:
- none
Print(text as string) as void¶
Description:
Writes a string terminated with a new line to stdout.
Parameters:
- text: specifies the text to be printed.
Return Value:
- none
Input() as string¶
Description:
Reads a string from the stdin.
Parameters:
- none
Return Value:
- string read from stdin.