home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
pascal
/
library
/
windows
/
pdoxeng
/
tblclose.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1994-04-11
|
450b
|
25 lines
program TblClose;
uses PXEngine, WinCrt;
const TableName = 'Table';
var PxErr: Integer;
TblHandle: TableHandle;
procedure PX(Code : integer);
begin
writeln(PXErrMsg(Code));
end;
begin
PX(PXWinInit('MyApp', pxShared));
PX(PXTblOpen(TableName, TblHandle, 0, False));
(* Close an open table *)
PxErr := PXTblClose(TblHandle);
if PxErr <> PxSuccess then
Writeln(PxErrMsg(PxErr));
PX(PXExit);
end.