Ignore:
Timestamp:
Aug 9, 2010, 3:05:26 PM (14 years ago)
Author:
george
Message:

Added support for loop for-to-do.
System types and functions are not generated to output code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DelphiToC/Example.pas

    r49 r50  
    1212
    1313const
    14   Verze: Bytel = 11;
     14  Verze: Byte = 11;
    1515var
    1616  a: Byte;
     
    2121  WriteLn(A);
    2222  begin
    23     WriteLn;
     23    WriteLn(11);
    2424    Pokus;
    2525    dsd;
    2626    begin
    27       WriteLn;
     27      WriteLn(A);
    2828    end;
    2929  end;
    3030  A := 1;
     31  for A := 1 to 2 do WriteLn(A);
    3132  if A = 2 then begin
    3233    A := 3;
    3334  end;
    3435  while A < 1 do A := A + 1;
    35   WriteLn;
     36  WriteLn(D);
    3637end.
Note: See TracChangeset for help on using the changeset viewer.