{"id":189,"date":"2024-09-30T10:44:17","date_gmt":"2024-09-30T09:44:17","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=189"},"modified":"2025-09-26T10:57:22","modified_gmt":"2025-09-26T09:57:22","slug":"mwnci-exit-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-exit-function\/","title":{"rendered":"Mwnci exit() Function"},"content":{"rendered":"<h3><span id=\"Syntax\" class=\"mw-headline\">Syntax<\/span><\/h3>\n<p>exit(<i><b>integer<\/b><\/i>)<\/p>\n<h3><span id=\"Description\" class=\"mw-headline\">Description<\/span><\/h3>\n<p>The exit statement causes the MSL program to immediately end and return control to the process that called it.<\/p>\n<h2><span id=\"Example\" class=\"mw-headline\">Example<\/span><\/h2>\n<pre>if (isexist(\"\/tmp\/foo\")) {\r\n    exit(0)\r\n}\r\nexit(1)\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax exit(integer) Description The exit statement causes the MSL program to immediately end and return control to the process that called it. Example if (isexist(&#8220;\/tmp\/foo&#8221;)) { exit(0) } exit(1)<\/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-189","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/189","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=189"}],"version-history":[{"count":2,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/189\/revisions"}],"predecessor-version":[{"id":1208,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/189\/revisions\/1208"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}