how to use sleep interval in axapta


 int seconds = 10;  
 int i,j,k;  
 ;  
 j = 100;  
 k = 200;  
 print 'a';  
 pause;  
 //info(strfmt("%1",j));  
 i = sleep(seconds*1000); // sleep time is in milliseconds print "job  
 slept for " + int2str(i/1000) + " seconds"; pause;  
 print 'b';  
 pause;  
 //info(strfmt("%1",k));