Ignore:
Timestamp:
Oct 18, 2010, 8:53:48 AM (14 years ago)
Author:
george
Message:

Added: Base parsing of class, pointer and enumeration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Transpascal/Project/System.pas

    r64 r65  
    44
    55type
    6   TType = internal;
    7   Void = internal;
    8   Byte = internal;
    9   ShortInt = internal;
    10   Word = internal;
    11   SmallInt = internal;
    12   Cardinal = internal;
    13   DWord = Cardinal;
    14   Integer = internal;
    15   QWord = internal;
    16   Int64 = internal;
    17   Char = internal;
     6  Void = type;
     7  Ordinal = type(Void);
     8  Float = type(Void);
     9  Boolean = (False, True);
     10 
     11  // Ordinal types
     12  Byte = type(Ordinal);
     13  ShortInt = type(Ordinal);
     14  Word = type(Ordinal);
     15  SmallInt = type(Ordinal);
     16  Cardinal = type(Ordinal);
     17  DWord = Cardinal;
     18  LongWord = Cardinal;
     19  Integer = type(Ordinal);
     20  LongInt = Integer;
     21  QWord = type(Ordinal);
     22  Int64 = type(Ordinal);
     23  Char = type(Ordinal);
     24 
     25  // Float types
     26  Real = type(Float);
     27  Single = type(Float);
     28  Double = type(Float);
     29  Extended = type(Float);
     30 
    1831  String = array of Char;
    1932  Pointer = ^Void;
    20   Ordinal = (Byte, ShortInt, Word, SmallInt, Cardinal, DWord, Integer, QWord, Int64, Char);
    21   Float = (Single, Double, Extended)
    2233  TObject = class;
    2334
     
    4253procedure WriteLn; internal;
    4354
     55procedure Move(const Source: type; var Dest: type; Count: Integer);
     56procedure FillChar(var Dest: type; Count: Integer; Value: Byte);
    4457 
    4558implementation
Note: See TracChangeset for help on using the changeset viewer.