Description
The io package includes a set of procedures that handle user input and output. This package helps users interact with your program.
'print' procedure
The 'print' procedure imports a single string parameter and outputs the string to the runtime window.
print [string]
'println' procedure
The 'println' procedure imports nothing. When called, the procedure moves the console cursor to the next line.
println
'get' function
The 'get' function is used to scan for user input to the console. When called, the function pauses the program, allows user input, and when the user presses the return/enter key, their input is returned as a string. This can be caught into a variable or used in a control structure.
get
[variable] & get
'speak' procedure
The 'speak' procedure imports a single string parameter and uses a text-to-speech service to convert the string to audible text. This procedure requires internet connection.
speak [string]
'clear' procedure
The 'clear' procedure clears all runtime console output.
clear
'clearln' procedure
The 'clearln' procedure removes the last line from the runtime console output.
clearln