{"id":101,"date":"2006-04-18T13:59:13","date_gmt":"2006-04-18T05:59:13","guid":{"rendered":"http:\/\/192.168.0.1\/blog_4.4.2\/?p=101"},"modified":"2006-04-18T13:59:13","modified_gmt":"2006-04-18T05:59:13","slug":"bcb-6-qryoccnaeek","status":"publish","type":"post","link":"https:\/\/blog.worren.net\/?p=101","title":{"rendered":"BCB 6 \u5f9e\u547d\u4ee4\u5217\u50b3\u905e\u53c3\u6578\u7684\u65b9\u6cd5"},"content":{"rendered":"<div class='drop-case'> <p> BCB6 \u7684 code , \u8981\u5f9e\u547d\u4ee4\u5217\u52a0\u53c3\u6578\u4f86\u7576\u505a\u7a0b\u5f0f\u57f7\u884c\u7684\u689d\u4ef6 <br \/> \nExample \u6458\u9304\u81ea help \u6a94 ParamCount, ParamStr Example &#8230; <\/div>\n <p>  <!--more--> \n <p> The following example beeps once for each \\&#8221;beep\\&#8221;  passed in on the command line. The example terminates the application if  \\&#8221;exxit\\&#8221; is passed in on the command line.\n<pre><code>\r\nvoid __fastcall TForm1::FormCreate(TObject *Sender)\r\n\r\n{\r\n  for (int i=1;i&lt;=ParamCount();i++)\r\n  {\r\n    if (LowerCase(ParamStr(i)) == \\\"beep\\\")\r\n      Beep(10000,1000);\r\n    elseif (LowerCase(ParamStr(i)) == \\\"exit\\\")\r\n      Application-&gt;Terminate();\r\n  }\r\n}\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":" <p> BCB6 \u7684 code , \u8981\u5f9e\u547d\u4ee4\u5217\u52a0\u53c3\u6578\u4f86\u7576\u505a\u7a0b\u5f0f\u57f7\u884c\u7684\u689d\u4ef6 Example \u6458\u9304\u81ea help \u6a94 ParamCount, ParamStr Example &#8230; <\/p> \n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/posts\/101"}],"collection":[{"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.worren.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=101"}],"version-history":[{"count":0,"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/posts\/101\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.worren.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.worren.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.worren.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}