How to call Cache function in Delphi 7
This is my delphi code
procedure TForm2.Button1Click(Sender: TObject);
var
cmd:string;
sResult:string;
begin
cmd:='$$Check^logininput()';
vism1.Code:=cmd;
sResult:=vism1.Value;
end;
end.
Discussion (1)2
Comments
You're not executing it:
vism1.Execute(cmd);To make it shorter, can be
vism1.Execute('$$Check^logininput()');
sResult:=vism1.Value;You can also find an example in this GitHub repository.