Standard.Terminal

Standard.Terminal is a library of functions for interacting with the terminal.

Contents

Functions

Standard.Terminal.Print

Description

Prints a string to the terminal.

Syntax

Print(string, string..)

Parameters

string - Any number of strings to print to the terminal.

Return Value

The values printed to the terminal.

Example

Print("Hello ")
Print("World!")
Hello World!

Standard.Terminal.PrintLine

Description

Prints a string to the terminal, followed by a newline.

Syntax

PrintLine(string, string..)

Parameters

string - Any number of strings to print to the terminal.

Return Value

The values printed to the terminal.

Example

PrintLine("Hello, World!")

PrintLine("Hello, ", "World!")

PrintLine("Hello, ", "World!", "!")
Hello, World!
Hello, World!
Hello, World!!

Standard.Terminal.Read

Description

Reads a string from the terminal.

Syntax

Read()

Parameters

The line to write to the terminal before reading.

Return Value

The string read from the terminal.

Example

Read("Enter your name: ")
Enter your name: 

Notes

{Notes}

Last updated