Hi All,
I am confused. I am trying to create a few seconds delay between process, in my efs, inorder to allow an external program to complete some work that I had eSignal initate. I created the following function. This function never exits and the only way out is to crash out.
What might I have done wrong?
any suggestion to fix this or a way to create a time delay would be appreciated.
I am confused. I am trying to create a few seconds delay between process, in my efs, inorder to allow an external program to complete some work that I had eSignal initate. I created the following function. This function never exits and the only way out is to crash out.
What might I have done wrong?
PHP Code:
main(){
Alert.email ("external program do something");
delay(5);
....efs continue processing....
function delay(pDylAmt){
var rtnTime = getValue("rawtime")+pDylAmt;
var crtTime = getValue("rawtime");
var cnt = 0;
var y = 0;
while (crtTime < rtnTime){
crtTime =getValue("rawtime") ;
}
return;
}
Comment