Table of Content
HAL Forum
function longint MinutesOnline (
)
Description:
Returns the number of minutes that the logged in user has been online.
// Log in and wait for 2 minutes
global
updating procedure OnApplicationStartup()
begin
    NewTimedTask("NotifyMe","Shows how long the user has been online","HowLongHaveIBeenHere","",CurrentDate,AddMinutes(CurrentTime,2),"");    
  return;
end;

global
updating function Boolean HowLongHaveIBeenHere(string arg) 
begin
    stopalert("You have been online for " & MinutesOnline &" minutes");
  return;
end;
Related topics:
««