|
@@ -195,52 +195,84 @@ Procedure BlockWrite(Var f:File;Const Buf;Count:Longint;var Result:Longint);[IOC
|
|
|
{
|
|
|
Write Count records from Buf to file f, return written records in result
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
l : Int64;
|
|
|
Begin
|
|
|
BlockWrite(f,Buf,Count,l);
|
|
|
Result:=longint(l);
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
|
|
|
|
|
|
Procedure BlockWrite(Var f:File;Const Buf;Count:Word;var Result:Word);[IOCheck];
|
|
|
{
|
|
|
Write Count records from Buf to file f, return written records in Result
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+ end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
l : Int64;
|
|
|
Begin
|
|
|
BlockWrite(f,Buf,Count,l);
|
|
|
Result:=word(l);
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
+
|
|
|
|
|
|
Procedure BlockWrite(Var f:File;Const Buf;Count:Cardinal;var Result:Cardinal);[IOCheck];
|
|
|
{
|
|
|
Write Count records from Buf to file f, return written records in Result
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+ end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
l : Int64;
|
|
|
Begin
|
|
|
BlockWrite(f,Buf,Count,l);
|
|
|
Result:=l;
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
+
|
|
|
|
|
|
Procedure BlockWrite(Var f:File;Const Buf;Count:Word;var Result:Integer);[IOCheck];
|
|
|
{
|
|
|
Write Count records from Buf to file f, return written records in Result
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+ end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
l : Int64;
|
|
|
Begin
|
|
|
BlockWrite(f,Buf,Count,l);
|
|
|
Result:=integer(l);
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
+
|
|
|
|
|
|
Procedure BlockWrite(Var f:File;Const Buf;Count:Longint);[IOCheck];
|
|
|
{
|
|
|
Write Count records from Buf to file f, if none a Read and Count>0 then
|
|
|
InOutRes is set
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+ end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
Result : Int64;
|
|
|
Begin
|
|
@@ -248,6 +280,8 @@ Begin
|
|
|
If (InOutRes=0) and (Result<Count) and (Count>0) Then
|
|
|
InOutRes:=101;
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
+
|
|
|
|
|
|
Procedure BlockRead(var f:File;var Buf;Count:Int64;var Result:Int64);[IOCheck];
|
|
|
{
|
|
@@ -272,54 +306,87 @@ Procedure BlockRead(var f:File;var Buf;Count:Longint;var Result:Longint);[IOChec
|
|
|
Read Count records from file f ro Buf, return number of read records in
|
|
|
Result
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+ end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
l : int64;
|
|
|
Begin
|
|
|
BlockRead(f,Buf,Count,l);
|
|
|
Result:=longint(l);
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
+
|
|
|
|
|
|
Procedure BlockRead(var f:File;var Buf;count:Word;var Result:Word);[IOCheck];
|
|
|
{
|
|
|
Read Count records from file f to Buf, return number of read records in
|
|
|
Result
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+ end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
l : int64;
|
|
|
Begin
|
|
|
BlockRead(f,Buf,Count,l);
|
|
|
Result:=word(l);
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
+
|
|
|
|
|
|
Procedure BlockRead(var f:File;var Buf;count:Cardinal;var Result:Cardinal);[IOCheck];
|
|
|
{
|
|
|
Read Count records from file f to Buf, return number of read records in
|
|
|
Result
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+ end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
l : int64;
|
|
|
Begin
|
|
|
BlockRead(f,Buf,Count,l);
|
|
|
Result:=l;
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
+
|
|
|
|
|
|
Procedure BlockRead(var f:File;var Buf;count:Word;var Result:Integer);[IOCheck];
|
|
|
{
|
|
|
Read Count records from file f to Buf, return number of read records in
|
|
|
Result
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+ end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
l : int64;
|
|
|
Begin
|
|
|
BlockRead(f,Buf,Count,l);
|
|
|
Result:=integer(l);
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
+
|
|
|
|
|
|
Procedure BlockRead(Var f:File;Var Buf;Count:Int64);[IOCheck];
|
|
|
{
|
|
|
Read Count records from file f to Buf, if none are read and Count>0 then
|
|
|
InOutRes is set
|
|
|
}
|
|
|
+{$ifdef EXCLUDE_COMPLEX_PROCS}
|
|
|
+begin
|
|
|
+ runerror(217);
|
|
|
+ end;
|
|
|
+{$else EXCLUDE_COMPLEX_PROCS}
|
|
|
var
|
|
|
Result : int64;
|
|
|
Begin
|
|
@@ -327,6 +394,7 @@ Begin
|
|
|
If (InOutRes=0) and (Result<Count) and (Count>0) Then
|
|
|
InOutRes:=100;
|
|
|
End;
|
|
|
+{$endif EXCLUDE_COMPLEX_PROCS}
|
|
|
|
|
|
|
|
|
Function FilePos(var f:File):Int64;[IOCheck];
|