home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
source
/
tpwpxeng
/
tblempty.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-07-22
|
365b
|
23 lines
program TblEmpty;
uses PXEngine, WinCrt;
const TableName = 'Table';
var PxErr: Integer;
procedure PX(Code : integer);
begin
writeln(PXErrMsg(Code));
end;
begin
PX(PXWinInit('MyApp', pxShared));
(* Empty the table *)
PxErr := PXTblEmpty(TableName);
if PxErr <> PxSuccess then
Writeln(PxErrMsg(PxErr));
PX(PXExit);
end.