{"id":260,"date":"2024-10-03T07:44:03","date_gmt":"2024-10-03T06:44:03","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=260"},"modified":"2024-10-03T07:44:03","modified_gmt":"2024-10-03T06:44:03","slug":"mwnci-include-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-include-function\/","title":{"rendered":"Mwnci include() Function"},"content":{"rendered":"<h2><span id=\"Syntax\" class=\"mw-headline\">Syntax<\/span><\/h2>\n<p>include(<i><b>&#8220;name&#8221;<\/b><\/i>)<\/p>\n<h2><span id=\"Description\" class=\"mw-headline\">Description<\/span><\/h2>\n<p>In MSL, the <i>include()<\/i> function tells the <i>evaluator<\/i> to insert the contents of another file into the source code at the point where the <i>include()<\/i> function is found. Includes are typically used to include files for MSL functions that are held outside of the current source file.<\/p>\n<h2><span id=\"Examples\" class=\"mw-headline\">Example<\/span><\/h2>\n<pre>include(\"pwd\")  \/\/ Load password functions\r\nprintln(getpwent(\"root\"))\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax include(&#8220;name&#8221;) Description In MSL, the include() function tells the evaluator to insert the contents of another file into the source code at the point where the include() function is found. Includes are typically used to include files for MSL functions that are held outside of the current source file. Example include(&#8220;pwd&#8221;) \/\/ Load password &hellip; <a href=\"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-include-function\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Mwnci include() Function&#8221;<\/span><\/a><\/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-260","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/260","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=260"}],"version-history":[{"count":1,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/260\/revisions"}],"predecessor-version":[{"id":261,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/260\/revisions\/261"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}