Ignore:
Timestamp:
Jan 17, 2018, 1:11:56 PM (7 years ago)
Author:
chronos
Message:
  • Added: Check memory leaks in debug build mode.
  • Fixed: Various memory leaks.
Location:
branches/easy compiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/easy compiler

    • Property svn:ignore
      •  

        old new  
        22*.exe
        33*.lps
         4heaptrclog.trc
  • branches/easy compiler/UFormMain.pas

    r142 r145  
    5151procedure TForm1.FormShow(Sender: TObject);
    5252begin
    53   with MemoSource.Lines do begin
     53{  with MemoSource.Lines do begin
     54    Add('var I Integer');
     55    Add('Assign I 10');
     56    Add('Repeat');
     57    Add('Begin');
     58    Add('Decrement I 1');
     59    Add('IfZero I');
     60    Add('Break');
     61    Add('End');
     62  end;
     63 } with MemoSource.Lines do begin
    5464    Add('PrintLn ''Super Calculator''');
    5565    Add('var Value1 Integer');
     
    6373    Add('InputLn Value2');
    6474
    65     Add('begin');
    6675    Add('Assign Result Value1');
    6776    Add('Increment Result Value2');
    6877    Add('Print ''Sum of two values is: ''');
    6978    Add('PrintLn Result');
    70     Add('end');
    7179  end;
    7280{  with MemoSource.Lines do begin
Note: See TracChangeset for help on using the changeset viewer.