Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : PASCALCL.ZIP
Filename : EX02_PAS.PAS

 
Output of file : EX02_PAS.PAS contained in archive : PASCALCL.ZIP
{ Pascal source code - udf procedure }
{ Copyright (c) 1988 Nantucket Corp. }
Module ClipPas;

#include "nandef.inc"
#include "extend.inc"

procedure udf(vars x,y,z : integer);
{ One char parameter is received by far reference. }
{ Far reference is specified with the VARS keyword. }

var
ptr1 : adsdate;
ptr2 : adsdate;
ptr3 : adsdate;
str1 : datestr;
str2 : datestr;
str3 : datestr;

begin
ptr1 := _pards(1);
ptr2 := _pards(2);
ptr3 := _pards(3);

str1 := _pards(1)^;
str2 := _pards(2)^;
str3 := _pards(3)^;

WriteLn('DATE ', _pards(1)^);
WriteLn('DATE ', _pards(2)^);
WriteLn('DATE ', _pards(3)^);

WriteLn('DATE ', _pards(1)^, _pards(2)^, _pards(3)^);

WriteLn('DATE ', ptr1^, ptr2^, ptr3^);

WriteLn('DATE ', str1, str2, str3);
end;
end.


  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : PASCALCL.ZIP
Filename : EX02_PAS.PAS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/