Ignore:
Timestamp:
Feb 11, 2017, 4:35:08 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Improved interpeter. Better handling of execution of functions and passing value of parameters.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/interpreter/Source3.pas

    r100 r101  
    1717  TOperator = (opNone, opAdd, opSubtract, opAnd, opOr, opNot, opEqual, opNotEqual);
    1818
    19   TBaseType = (btBoolean, btInteger, btChar, btShortString, btArray);
     19  TBaseType = (btNone, btBoolean, btInteger, btChar, btShortString, btArray);
    2020
    2121  TType = record
     
    8484  TFunctionCall = procedure ;
    8585
    86   TCmdType = (ctWhileDo, ctIfThenElse, ctBeginEnd, ctAssignment, ctExecution);
     86  TCmdType = (ctNone, ctWhileDo, ctIfThenElse, ctBeginEnd, ctAssignment, ctExecution);
    8787  TCommand = record
    8888    CmdType: TCmdType;
Note: See TracChangeset for help on using the changeset viewer.