Ignore:
Timestamp:
Jan 18, 2018, 1:30:58 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Now arrays of string and integer are supported and executed correctly by executor.
  • Added: IfNotEqual command.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/easy compiler/USourceCode.pas

    r148 r149  
    2626  TSourceValue = class
    2727    procedure Assign(Source: TSourceValue); virtual;
     28    constructor Create; virtual;
    2829  end;
    2930
     
    113114    Items: TSourceValues;
    114115    procedure Assign(Source: TSourceValue); override;
    115     constructor Create;
     116    constructor Create; override;
    116117    destructor Destroy; override;
    117118  end;
     
    188189
    189190  TCommandIfEqual = class(TSourceCommand)
     191    Reference1: TSourceReference;
     192    Reference2: TSourceReference;
     193    destructor Destroy; override;
     194  end;
     195
     196  { TCommandIfNotEqual }
     197
     198  TCommandIfNotEqual = class(TSourceCommand)
    190199    Reference1: TSourceReference;
    191200    Reference2: TSourceReference;
     
    223232
    224233implementation
     234
     235{ TCommandIfNotEqual }
     236
     237destructor TCommandIfNotEqual.Destroy;
     238begin
     239  Reference1.Free;
     240  Reference2.Free;
     241  inherited Destroy;
     242end;
    225243
    226244{ TSourceType }
     
    364382end;
    365383
     384constructor TSourceValue.Create;
     385begin
     386end;
     387
    366388{ TSourceValueInteger }
    367389
Note: See TracChangeset for help on using the changeset viewer.