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
{$linklib 'fdb'}
uses
begui;
procedure SendText(text: pchar);cdecl; external;
procedure SendText(text: pchar);cdecl; external 'fdb';
procedure SendText(text : string);
procedure force;
implementation
procedure SendText(text : string);
var
local : string;
begin
local := text + #0;
SendText(@local[1]);
end;
procedure force;
begin
writeln('force');