Console

Summary

Provides input and output functions for the system or browser console.

Description

System.Console provides methods for reading from standard input, writing to standard output, and accessing the standard error stream for the system or browser console.

This class cannot be instantiated. All methods are static.

Examples

Printing to Standard Output
1
2
3
import System;
 
Console.log("Hello World!");

Methods

  • error

    Writes a line to the standard error stream.

  • log

    Writes a line to standard output.

Share

HTML | BBCode | Direct Link