Heya Palyne!  Are you talking about synchonous waiting, e.g. the app performs some 
action, waits a specified number of time intervals, then performs the next action?  If 
so, this would be pretty simple to implement inline code using CF's current date/time 
functions and looping.  You could make an include file out of something like:

NOTE: this is *NOT* tested...  FOR CONCEPT ONLY!!!

<cfparam name="wait_datepart" default="s">
<cfparam name="wait_interval" default="0">
<cfscript>
wait_newdate = DateAdd(wait_datepart, wait_interval, Now());
while (Now() LT wait_newdate) {
    //why do anything?  =-)
}
</cfscript>

You would set the values for wait_datepart and wait_interval just before including the 
file.

Any particular reason you'd like to do this?  :-\

--IronFury

 
On Wed, 20 February 2002, "Palyne Gaenir" wrote:

> 
> Do you suppose CF is ever going to come up with something that 
> lets time in execution be manipulated?  E.g., cfwait. :-)  I have a 
> utility I've wanted to build for about 10 years, I figured I'll make it in 
> VB 'someday', but I could do it in CF right now using cffile if only it 
> had such a capability.
> Regards,
> Palyne
> 
> 
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
> 
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org



-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to