{"id":2350,"date":"2015-05-06T08:37:27","date_gmt":"2015-05-05T23:37:27","guid":{"rendered":"http:\/\/programminglanguage7.com\/?p=2350"},"modified":"2015-05-06T08:37:27","modified_gmt":"2015-05-05T23:37:27","slug":"post-2350","status":"publish","type":"post","link":"https:\/\/programminglanguage7.com\/?p=2350","title":{"rendered":"for\u6587\u306b\u3064\u3044\u3066\u77e5\u308d\u3046"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\">\u3053\u306e\u7ae0\u3067\u306ffor\u6587\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u540c\u3058\u3088\u3046\u306a\u51e6\u7406\u3092\u4f55\u5ea6\u3082\u7e70\u308a\u8fd4\u3059\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f55\u5ea6\u3082\u540c\u3058\u51e6\u7406\u3092\u66f8\u304f\u306e\u306f\u9762\u5012\u3067\u3059\u3057\u3001\u9593\u9055\u3044\u3082\u591a\u304f\u306a\u308a\u304c\u3061\u3067\u3059\u3002<\/span><br \/>\n<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11521.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2351\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11521.jpg\" alt=\"1\" width=\"212\" height=\"141\" \/><\/a><span style=\"font-size: 14pt;\">\u305d\u3053\u3067\u3001\u4f55\u56de\u3082\u540c\u3058\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\u5fc5\u8981\u304c\u3042\u308b\u3068\u304d\u306b\u3001for\u6587\u3092\u4f7f\u3048\u3070\u7c21\u5358\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">while\u6587\u306f\u4f55\u56de\u3082\u540c\u3058\u51e6\u7406\u3092\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u304d\u306b\u5fc5\u8981\u3067\u3057\u305f\u304c\u3001for\u6587\u3082while\u6587\u3068\u540c\u3058\u50cd\u304d\u304c\u3042\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">for\u6587\u306e\u8a73\u3057\u3044\u8aac\u660e\u306f\u4f8b\u306e\u5f8c\u306b\u884c\u3044\u307e\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11522.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2352\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11522-300x187.jpg\" alt=\"1\" width=\"300\" height=\"187\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11522-300x187.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11522.jpg 377w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">\u3067\u306f\u4f8b\u3092\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11523.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2353\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11523-300x96.jpg\" alt=\"1\" width=\"300\" height=\"96\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11523-300x96.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11523.jpg 433w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">for\u304c\u6700\u521d\u306b\u5b9f\u884c\u3055\u308c\u308b\u6642\u306b\u306f<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11524.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2354\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11524.jpg\" alt=\"1\" width=\"159\" height=\"38\" \/><\/a>\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u521d\u671f\u5024\u5f0f\u3068\u306f\u6761\u4ef6\u5f0f\u3092\u5224\u5b9a\u3059\u308b\u3068\u304d\u306e\u521d\u3081\u306e\u5909\u6570\u3067\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u521d\u671f\u5024\u5f0f\u306f\u4e0a\u306e\u4f8b\u3067\u8a00\u3048\u3070<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11525.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2355\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11525.jpg\" alt=\"1\" width=\"94\" height=\"36\" \/><\/a>\u3067\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u6b21\u306b\u521d\u671f\u5024\u5f0f\u3092\u5143\u306b\u6761\u4ef6\u5f0f\u3092\u5224\u5b9a\u3057\u3066TRUE\u3067\u3042\u308b\u306a\u3089\u3070\u3001\u51e6\u7406\u6587\u304c\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u6761\u4ef6\u5f0f\u306f\u4e0a\u306e\u4f8b\u3067\u8a00\u3048\u3070<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11526.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2356\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11526.jpg\" alt=\"1\" width=\"112\" height=\"35\" \/><\/a>\u3067\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u51e6\u7406\u6587\u304c\u5b9f\u884c\u3055\u308c\u305f\u5f8c\u306b\u5897\u6e1b\u5f0f\u306b\u304a\u3044\u3066\u3001\u521d\u671f\u5024\u3092\u8db3\u3057\u305f\u308a\u5f15\u3044\u305f\u308a\u3059\u308b\u884c\u70ba\u3092\u884c\u3044\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u5897\u6e1b\u5f0f\u306f\u4e0a\u306e\u4f8b\u3067\u8a00\u3048\u3070<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11527.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2357\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11527.jpg\" alt=\"1\" width=\"94\" height=\"36\" \/><\/a>\u3067\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5185\u5bb9\u306b\u3088\u3063\u3066\u306f<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11528.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2358\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11528.jpg\" alt=\"1\" width=\"85\" height=\"35\" \/><\/a>\u306e\u3088\u3046\u306b\u6e1b\u7b97\u5b50\u306e\u8a18\u8ff0\u3082\u3067\u304d\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u9806\u3092\u8ffd\u3063\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u2460\u521d\u3081\u306b$i\u306b\u521d\u671f\u50241\u3092\u4ee3\u5165\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u521d\u671f\u5024\u306f1\u3067\u306a\u304f\u3066\u30822\u3067\u30823\u3067\u3082\u81ea\u7531\u306b\u6c7a\u3081\u3089\u308c\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u2461$i&lt;=3\u306e\u6761\u4ef6\u5f0f\u3092\u5224\u5b9a\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3053\u3053\u304cTRUE\u3067\u3042\u308b\u306a\u3089\u3070<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11529.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2359\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11529.jpg\" alt=\"1\" width=\"279\" height=\"39\" \/><\/a>\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">$i\u306f1\u30673\u4ee5\u4e0b\u306a\u306e\u3067\u3001<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11529.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2359\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11529.jpg\" alt=\"1\" width=\"279\" height=\"39\" \/><\/a>\u3092\u5b9f\u884c\u3057<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11530.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2360\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11530.jpg\" alt=\"1\" width=\"178\" height=\"43\" \/><\/a>\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u2462\u305d\u308c\u304b\u3089$i++\u3067$i\u306b1\u3092\u8db3\u3057\u3001$i\u306f2\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u2463\u305d\u3057\u3066\u307e\u305f\u6761\u4ef6\u5f0f\u306e\u5224\u5b9a\u306b\u5165\u308a\u3001\u4e0a\u306e3\u3067$i\u306f2\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u307e\u30603\u4ee5\u4e0b\u306a\u306e\u3067<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11529.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2359\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11529.jpg\" alt=\"1\" width=\"279\" height=\"39\" \/><\/a>\u3092\u5b9f\u884c\u3057\u3001<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11531.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2361\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11531.jpg\" alt=\"1\" width=\"163\" height=\"35\" \/><\/a>\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u2464\u305d\u308c\u304b\u3089$i++\u3067$i\u306b1\u3092\u8db3\u3057\u3001$i\u306f3\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u2465\u305d\u3057\u3066\u307e\u305f\u6761\u4ef6\u5f0f\u306e\u5224\u5b9a\u306b\u5165\u308a\u3001\u4e0a\u306e5\u3067$i\u306f3\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u307e\u30603\u4ee5\u4e0b\u306a\u306e\u3067<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11529.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2359\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11529.jpg\" alt=\"1\" width=\"279\" height=\"39\" \/><\/a>\u3092\u5b9f\u884c\u3057<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11532.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2362\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11532.jpg\" alt=\"1\" width=\"177\" height=\"36\" \/><\/a>\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u2466\u305d\u308c\u304b\u3089$i++\u3067$i\u306b1\u3092\u8db3\u3057\u30664\u306b\u306a\u308a\u307e\u3059<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u2467\u305d\u3057\u3066\u307e\u305f\u6761\u4ef6\u5f0f\u306e\u5224\u5b9a\u306b\u5165\u308a\u307e\u3059\u304c\u3001$i\u306f1\u3092\u52a0\u3048\u3089\u308c\u30664\u306b\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u6761\u4ef6\u5f0f\u306fFALSE\u306b\u306a\u308a\u30eb\u30fc\u30d7\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u7ae0\u3067\u306ffor\u6587\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 \u540c\u3058\u3088\u3046\u306a\u51e6\u7406\u3092\u4f55\u5ea6\u3082\u7e70\u308a\u8fd4\u3059\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f55\u5ea6\u3082\u540c\u3058\u51e6\u7406\u3092\u66f8\u304f\u306e\u306f\u9762\u5012\u3067\u3059\u3057\u3001\u9593\u9055\u3044\u3082\u591a\u304f\u306a\u308a\u304c\u3061\u3067\u3059\u3002 \u305d\u3053\u3067\u3001\u4f55\u56de\u3082\u540c\u3058\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\u5fc5\u8981\u304c\u3042\u308b\u3068\u304d\u306b\u3001f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[193],"tags":[166],"class_list":["post-2350","post","type-post","status-publish","format-standard","hentry","category-php","tag-for"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/2350"}],"collection":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2350"}],"version-history":[{"count":1,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/2350\/revisions"}],"predecessor-version":[{"id":2363,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/2350\/revisions\/2363"}],"wp:attachment":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}