pascalinterpreter.iooperations
Class Read

java.lang.Object
  extended bypascalinterpreter.Command
      extended bypascalinterpreter.IoOperation
          extended bypascalinterpreter.iooperations.Read
Direct Known Subclasses:
Readln

public class Read
extends IoOperation


Field Summary
 
Fields inherited from class pascalinterpreter.IoOperation
 
Constructor Summary
Read(Variable variable)
           
 
Method Summary
 void execute()
          Metoda rozpoczyna wykonywanie komendy.
 
Methods inherited from class pascalinterpreter.IoOperation
getVariable, setVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Read

public Read(Variable variable)
Method Detail

execute

public void execute()
             throws RuntimeException,
                    InternalException
Description copied from class: Command
Metoda rozpoczyna wykonywanie komendy.

Specified by:
execute in class Command
Throws:
RuntimeException - - wyjątek generowany
InternalException