YOU ARE VIEWING ARCHIVAL DOCUMENTATION FOR ioL VERSIONS 0.9x. Go to doc.iol.science for the latest version.
ioL

Programming manual (doc0.iol.science)



<putln>

The put and putln tags are used to get strings of data out of the ioL console. They are transmitted to your program's standard-input stream, which means that you can pick them up in your program using your language's standard input functions like scanf() in C, or input() in Python.

Both tags function in the same way. The only difference between <putln> and <put> is that putln automatically adds a newline character {</n>} to the end.

putln is short for put line.

Depending on your programming lanugage environment, some input functions look for a newline after each input, since they assume the input is coming from a TTY terminal where a user is pressing enter after typing each command.

These tags are short-lived. They exist to carry out a procedure, rather than creating an object in the console environment. It is not useful to attach labels to them.