hedgewars/pas2cSystem.pas
author nemo
Tue, 07 Feb 2012 22:39:36 -0500 (2012-02-08)
changeset 6652 b043665dea3d
parent 6649 7f78e8a6db69
child 6653 d45b6dbd2ad6
permissions -rw-r--r--
and oooone last off-by-1 in ammo menu
system;

type 
    Integer = integer;
    LongInt = integer;
    LongWord = integer;
    Cardinal = integer;
    PtrInt = integer;
    Word = integer;
    Byte = integer;
    SmallInt = integer;
    ShortInt = integer;

    pointer = pointer;
    PChar = pointer;

    float = float;
    double = float;
    real = float;

    boolean = boolean;
    LongBool = boolean;

    string = string;
    shortstring = string;
    ansistring = string;

    char = char;
    
    PByte = ^Byte;
    PLongInt = ^LongInt;
    PLongWord = ^LongWord;
    PInteger = ^Integer;
var 
    false, true: boolean;
    write, writeLn, read, readLn, inc, dec: procedure;
    StrLen, ord, Succ, Pred : function : integer;
    Low, High : function : integer;
    Now : function : integer;
    StrPas, FormatDateTime : function : shortstring;
    exit : procedure;