+ adding cardinal definition in system.pas

This commit is contained in:
mazen 2002-10-10 13:42:06 +00:00
parent 08232e556b
commit fca3b1b827
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
PROGRAM SparcTest;
VAR
x,y:0..2 SHL 32-1;
x,y:Cardinal;
z:0..255;
FUNCTION Add(a,b:Cardinal):Cardinal;
BEGIN

View File

@ -1,9 +1,11 @@
UNIT {SPARC}System;
INTERFACE
CONST
MaxInt=2 SHL 15-1;
MaxInt=1 SHL 16 - 1;
MaxCardinal=1 SHL 32 - 1;
TYPE
Integer=-MaxInt-1..MaxInt;
Cardinal=0..MaxCardinal;
VAR
Input,Output:Text;
IMPLEMENTATION