|
Checks if the task (created with NewTimedTask/NewPeriodicTask) with a specified name exists. |
|
TaskName |
The name that was used when the task was defined. |
|
global
updating procedure OnApplicationStartup()
begin
NewTimedTask("HelloWorldTask","Just saying hello to the world","SayHello","Hello World!",CurrentDate,addseconds(currenttime,10),"");
if(TaskExists("HelloWorldTask")) then begin
stopalert("Task created");
end;
return;
end;
global
procedure SayHello(string argument)
begin
stopalert(argument);
return;
end;
««