Sleep Function – Dynamics AX


Pauses the execution of the current thread for the specified number of milliseconds.

static void sleepExample(Args _arg) { int seconds = 10; // number of second to sleep int i; ; i = sleep(seconds*1000); print "job slept for " + int2str(i/1000) + " seconds"; pause;


Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


Get every new post on this blog delivered to your Inbox.

Join other followers:

error: Content is protected !!