Table of Contents

Class ConsolePl0Io

Namespace
Pl0.Vm
Assembly
Pl0.Vm.dll

Console-based I/O for interactive VM execution.

public sealed class ConsolePl0Io : IPl0Io
Inheritance
ConsolePl0Io
Implements
Inherited Members

Methods

ReadInt()

Liest eine Ganzzahl aus der Standardeingabe.

Reads an integer value from standard input.

public int ReadInt()

Returns

int

Die eingelesene Ganzzahl. / The parsed integer.

Exceptions

EndOfStreamException

Die Standardeingabe liefert keine weitere Zeile. / Standard input provides no further line.

FormatException

Die gelesene Zeile enthält keine gültige Ganzzahl. / The read line does not contain a valid integer.

WriteInt(int)

Writes an integer value to standard output.

public void WriteInt(int value)

Parameters

value int

Value to write.