Skip to content
Anssi Halmeaho edited this page Nov 21, 2022 · 2 revisions

stdio

Provides basic I/O services for printing to standard output and for reading from standard input.

printf

Formats and writes to standard output.

type: procedure

Format:

call(stdio.printf <format-string> <arg-1> <args-2> ...) -> true

Return value: true

printfline

Formats and writes to standard output. Prints newline at the end.

type: procedure

Format:

call(stdio.printfline <format-string> <arg-1> <args-2> ...) -> true

Return value: true

printout

For each argument formats (using default formatting to string) and writes to standard output.

type: procedure

Format:

call(stdio.printout <arg-1> <args-2> ...) -> true

Return value: true

printline

For each argument formats (using default formatting to string) and writes to standard output. Prints newline at the end.

type: procedure

Format:

call(stdio.printline <arg-1> <args-2> ...) -> true

Return value: true

readinput

Reads standard input and returns it as value(string).

type: procedure

Format:

call(stdio.readinput) -> <input-string>

Return value: input from standard input as string

Clone this wiki locally