bg5
2012-01-04 01:48:31
How to put WaitFunc inside other function?
I was trying…
and
and
I have really no idea. Anyone could help?
I was trying…
program new;
{$DEFINE SRL5}
{$i srl/srl.simba}
function Test (Func: function : boolean) : Boolean ;
begin
if (WaitFunc(@func,100,5000)) then
writeln ('something');
end;
begin
end. [Error] (8:17): Unknown identifier 'func' at line 7and
program new;
{$DEFINE SRL5}
{$i srl/srl.simba}
function Test (Func: function) : Boolean ;
begin
if (WaitFunc(@func,100,5000)) then
writeln ('something');
end;
begin
end. [Error] (6:30): colon (':') expected at line 5and
program new;
{$DEFINE SRL5}
{$i srl/srl.simba}
function Test (Func: function : boolean) : Boolean ;
begin
if (WaitFunc(func,100,5000)) then
writeln ('something');
end;
begin
end. [Error] (8:32): Type mismatch at line 7I have really no idea. Anyone could help?