Creator Posted January 3, 2007 Posted January 3, 2007 I am wondering, how the internals of adlibenable/adlibdisable work. Is it an fire and forget mechanism or does adlib wait for the called function to return? let me show what i mean: AdlibEnable("CheckMessages", 300000) function CheckMessages() bla bla .... do a mailcheck routine EndFunc Every 5 mins the function will be triggered by Adlib. question: if the function is triggered will adlib wait for the return before starting the 5 mins timer again? Or will Adlib fire the function (and forget) and start the timer right after the call??
hearurscream Posted January 3, 2007 Posted January 3, 2007 From the help file: "The adlib function should be kept simple as it is executed often and during this time the main script is paused" The rest of the program will wait until it is finished until it continues, and the time will restart at that time. Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.
Creator Posted January 3, 2007 Author Posted January 3, 2007 hearurscream said: From the help file:"The adlib function should be kept simple as it is executed often and during this time the main script is paused"The rest of the program will wait until it is finished until it continues, and the time will restart at that time. well ... uhm...doh..shame shameI stoppped reading that cause i thought it was the explanation of catching unforseen errors.....silly meThanx anywayzCreator
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now