{"id":711,"date":"2024-11-19T14:39:41","date_gmt":"2024-11-19T14:39:41","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=711"},"modified":"2024-11-19T15:14:19","modified_gmt":"2024-11-19T15:14:19","slug":"mwnci-sleep-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-sleep-function\/","title":{"rendered":"Mwnci sleep() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>sleep<strong>(<em>integer<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>sleep()<\/i> function pauses execution for the stated amount of milliseconds. I.e 1000 milliseconds will be 1 second<\/p>\n<h2>Example<\/h2>\n<pre>println(\"Sleep start\"\r\nsleep(5000)    \/\/ Wait 5 seconds\r\nprintln(\"Sleep Over....\")\r\n\r\n\r\nSleep Start\r\n<em>... 5 seconds pause ...<\/em>\r\nSleep Over<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax sleep(integer) Description The sleep() function pauses execution for the stated amount of milliseconds. I.e 1000 milliseconds will be 1 second Example println(&#8220;Sleep start&#8221; sleep(5000) \/\/ Wait 5 seconds println(&#8220;Sleep Over&#8230;.&#8221;) Sleep Start &#8230; 5 seconds pause &#8230; Sleep Over<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-711","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=711"}],"version-history":[{"count":3,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/711\/revisions"}],"predecessor-version":[{"id":720,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/711\/revisions\/720"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}