New SendText function with a string parameter to forget PChar conversion...

Remove of unused uses
This commit is contained in:
ocoursiere
2003-05-06 22:23:04 +00:00
parent 5af2af7415
commit 5994abf5e8

View File

@@ -2,17 +2,21 @@ unit fdblib;
interface interface
{$linklib 'fdb'} procedure SendText(text: pchar);cdecl; external 'fdb';
procedure SendText(text : string);
uses
begui;
procedure SendText(text: pchar);cdecl; external;
procedure force; procedure force;
implementation implementation
procedure SendText(text : string);
var
local : string;
begin
local := text + #0;
SendText(@local[1]);
end;
procedure force; procedure force;
begin begin
writeln('force'); writeln('force');