author | unc0rr |
Fri, 30 Mar 2012 17:00:34 +0400 | |
changeset 6837 | a137733c5776 |
parent 6835 | 00b2fd32305d |
child 6838 | b1a0e7a52c04 |
permissions | -rw-r--r-- |
6512 | 1 |
system; |
2 |
||
3 |
type |
|
6635
c2fa29fe2a58
Some progress, still can't find the source of bad behavior
unc0rr
parents:
6552
diff
changeset
|
4 |
Integer = integer; |
6512 | 5 |
LongInt = integer; |
6 |
LongWord = integer; |
|
6516 | 7 |
Cardinal = integer; |
8 |
PtrInt = integer; |
|
6520 | 9 |
Word = integer; |
10 |
Byte = integer; |
|
11 |
SmallInt = integer; |
|
12 |
ShortInt = integer; |
|
6653 | 13 |
QWord = integer; |
14 |
GLInt = integer; |
|
15 |
GLUInt = integer; |
|
6516 | 16 |
|
17 |
pointer = pointer; |
|
18 |
PChar = pointer; |
|
19 |
||
6649
7f78e8a6db69
Fix a bug with type declaration trying to resolve type being declared
unc0rr
parents:
6635
diff
changeset
|
20 |
float = float; |
6516 | 21 |
double = float; |
22 |
real = float; |
|
6653 | 23 |
extended = float; |
24 |
GLFloat = float; |
|
6516 | 25 |
|
26 |
boolean = boolean; |
|
27 |
LongBool = boolean; |
|
28 |
||
29 |
string = string; |
|
30 |
shortstring = string; |
|
31 |
ansistring = string; |
|
32 |
||
33 |
char = char; |
|
6520 | 34 |
|
35 |
PByte = ^Byte; |
|
36 |
PLongInt = ^LongInt; |
|
37 |
PLongWord = ^LongWord; |
|
38 |
PInteger = ^Integer; |
|
6663 | 39 |
|
40 |
Handle = integer; |
|
41 |
stderr = Handle; |
|
6512 | 42 |
var |
43 |
false, true: boolean; |
|
6520 | 44 |
write, writeLn, read, readLn, inc, dec: procedure; |
45 |
StrLen, ord, Succ, Pred : function : integer; |
|
46 |
Low, High : function : integer; |
|
47 |
Now : function : integer; |
|
6663 | 48 |
Length : function : integer; |
6837
a137733c5776
Much better types handling, work correctly with functions
unc0rr
parents:
6835
diff
changeset
|
49 |
Abs, Sqr : function : integer; |
a137733c5776
Much better types handling, work correctly with functions
unc0rr
parents:
6835
diff
changeset
|
50 |
StrPas, FormatDateTime, copy, delete, str : function : shortstring; |
a137733c5776
Much better types handling, work correctly with functions
unc0rr
parents:
6835
diff
changeset
|
51 |
exit, flush : procedure; |
a137733c5776
Much better types handling, work correctly with functions
unc0rr
parents:
6835
diff
changeset
|
52 |
Sqrt : function : float; |
a137733c5776
Much better types handling, work correctly with functions
unc0rr
parents:
6835
diff
changeset
|
53 |
TextFile : Handle; |