System.Console

Summary


Represents input, output, and error streams.
Defined in Console.js

Constructors

System.Console()

Properties

  • static Object In
    Gets the input HTML element.
  • static Object Out
    Gets the output HTML element.

Methods

  • static void Clear()
    Clears the output HTML element of display information.
  • static void ReadLine()
    Reads the line of characters from the input HTML element, evaluates the line as an expression, and outputs the results to the console.
  • static void SetIn(<element> element)
    Sets the In property to the specified HTML element.

    Parameters

    • element - An HTML element that represents the input stream.
  • static void SetOut(<element> element)
    Sets the Out property to the specified HTML element.

    Parameters

    • element - An HTML element that represents the output stream.
  • static void Write(<object> object)
    Writes the text representation of the specified value or values to the output HTML element.

    Parameters

    • object - The value to write.
  • static void WriteLine(<object> object)
    Writes the specified data, followed by a line break HTML element, to the output HTML element.

    Parameters

    • object - The value to write.