{"id":9656,"date":"2015-05-29T16:53:49","date_gmt":"2015-05-29T07:53:49","guid":{"rendered":"http:\/\/programminglanguage7.com\/?p=9656"},"modified":"2015-05-29T16:53:49","modified_gmt":"2015-05-29T07:53:49","slug":"post-9656","status":"publish","type":"post","link":"https:\/\/programminglanguage7.com\/?p=9656","title":{"rendered":"until\u306b\u3064\u3044\u3066\u77e5\u308d\u3046"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\">\u3053\u306e\u7ae0\u3067\u306funtil\u6587\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">until\u3082while\u3068\u540c\u3058\u304f\u7e70\u308a\u8fd4\u3057\u3092\u884c\u3046\u5834\u9762\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">until\u306f\u5b9f\u884c\u3055\u308c\u308b\u6642\u306b\u6761\u4ef6\u5f0f\u304ctrue\u3082\u3057\u304f\u306ffalse\u3067\u3042\u308b\u306e\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">false\u3067\u3042\u308b\u5834\u5408\u306funtil\u306e\u51e6\u7406\u6587\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">true\u3067\u3042\u308b\u5834\u5408\u306b\u306f\u51e6\u7406\u6587\u306f\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">while\u306f\u6761\u4ef6\u5f0f\u304ctrue\u306e\u5834\u5408\u306b\u4e2d\u8eab\u304c\u5b9f\u884c\u3055\u308c\u308b\u306e\u3067\u3001\u9055\u3044\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><br \/>\n<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\/9449.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9657\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9449-177x300.jpg\" alt=\"9\" width=\"177\" height=\"300\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9449-177x300.jpg 177w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9449.jpg 415w\" sizes=\"(max-width: 177px) 100vw, 177px\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">until\u6587\u306e\u69cb\u6587\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9450.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9658\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9450.jpg\" alt=\"9\" width=\"246\" height=\"182\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">\u3067\u306f\u5b9f\u884c\u306e\u624b\u9806\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u2460 num\u306b1\u3092\u5165\u308c\u307e\u3059\u3002goukei\u306b0\u3092\u5165\u308c\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">num&gt;3\u304cfalse\u306a\u306e\u3067\u3001\u7e70\u308a\u8fd4\u3057\u6587\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u2461 goukei +=num\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3053\u308c\u306f<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9451.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9659\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9451-300x34.jpg\" alt=\"9\" width=\"300\" height=\"34\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9451-300x34.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9451.jpg 318w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\u3068\u540c\u3058\u610f\u5473\u306a\u306e\u3067<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9452.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9660\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9452.jpg\" alt=\"9\" width=\"212\" height=\"34\" \/><\/a>\u3068\u8a08\u7b97\u3055\u308c\u30011\u304cgoukei\u306b\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u2462 num +=1\u306e\u7b87\u6240\u3067<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9453.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9661\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9453.jpg\" alt=\"9\" width=\"158\" height=\"32\" \/><\/a>\u3068\u8a08\u7b97\u3055\u308c num\u306b\u306f2\u304c\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u2463\u5148\u982d\u306b\u623b\u3063\u3066<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9454.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9662\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9454.jpg\" alt=\"9\" width=\"102\" height=\"31\" \/><\/a>\u3092\u8a55\u4fa1\u3057\u307e\u3059\u304c\u3001\u307e\u3060num\u306f2\u3067false\u306a\u306e\u3067\u3001\u7e70\u308a\u8fd4\u3057\u6587\u306f\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u2464 goukei +=num\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3053\u308c\u306f<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9455.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9663\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9455.jpg\" alt=\"9\" width=\"185\" height=\"35\" \/><\/a>\u3068\u8a08\u7b97\u3055\u308c\u30013\u304cgoukei\u306b\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u2465 num +=1\u306f<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9456.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9664\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9456.jpg\" alt=\"9\" width=\"147\" height=\"31\" \/><\/a>\u3068\u8a08\u7b97\u3055\u308c\u3001num\u306b\u306f3\u304c\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u2466\u5148\u982d\u306b\u623b\u3063\u3066<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9454.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9662\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9454.jpg\" alt=\"9\" width=\"102\" height=\"31\" \/><\/a>\u3092\u8a55\u4fa1\u3057\u307e\u3059\u304c\u3001\u307e\u3060num\u306f3\u3067false\u306a\u306e\u3067\u3001\u7e70\u308a\u8fd4\u3057\u6587\u306f\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u2467 goukei +=num\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3053\u308c\u306f<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9457.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9665\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9457.jpg\" alt=\"9\" width=\"189\" height=\"33\" \/><\/a>\u3068\u8a08\u7b97\u3055\u308c\u30016\u304cgoukei\u306b\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u2468 num +=1\u306f<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9457.jpg\"><br \/>\n<\/a> <a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9458.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9666\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9458.jpg\" alt=\"9\" width=\"146\" height=\"29\" \/><\/a>\u3068\u8a08\u7b97\u3055\u308cnum\u306b\u306f4\u304c\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u2469\u5148\u982d\u306b\u623b\u3063\u3066<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9454.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9662\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9454.jpg\" alt=\"9\" width=\"102\" height=\"31\" \/><\/a>\u3092\u8a55\u4fa1\u3057\u307e\u3059\u304c\u3001<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3053\u3053\u3067num\u306f4\u3067true\u306b\u306a\u308a\u7e70\u308a\u8fd4\u3057\u6587\u306f\u7d42\u4e86\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u246a\u6700\u5f8c\u306b<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9459.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9667\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9459.jpg\" alt=\"9\" width=\"291\" height=\"37\" \/><\/a>\u3092\u5b9f\u884c\u3057\u3066\u30016\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3053\u308c\u3092while\u3092\u4f7f\u3063\u3066\u66f8\u304d\u66ff\u3048\u308b\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9460.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9668\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9460-177x300.jpg\" alt=\"9\" width=\"177\" height=\"300\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9460-177x300.jpg 177w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9460.jpg 412w\" sizes=\"(max-width: 177px) 100vw, 177px\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">\u300cwhile !(num&gt; 3)\u300d\u306e\u3088\u3046\u306bwhile\u3068\u6761\u4ef6\u5f0f\u306e\u9593\u306b\u5426\u5b9a\u306e\u6f14\u7b97\u5b50\u300c!\u300d\u3092\u4ed8\u3051\u308b\u3068until\u3092\u4f7f\u3063\u305f\u306e\u3068\u540c\u3058\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u6b21\u306funtil\u88c5\u98fe\u5b50\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">until\u88c5\u98fe\u5b50\u3068\u306funtil\u6761\u4ef6\u6587 \u3092\u672b\u5c3e\u306b\u66f8\u304f\u5f62\u5f0f\u306e\u3053\u3068\u3092\u8a00\u3044\u307e\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9461.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9669\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9461-300x55.jpg\" alt=\"9\" width=\"300\" height=\"55\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9461-300x55.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9461.jpg 472w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">\u6761\u4ef6\u5f0f\u304cfalse\u306e\u9593\u306f\u7e70\u308a\u8fd4\u3057\u6587\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/span><br \/>\n<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\/9462.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9670\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9462-300x189.jpg\" alt=\"9\" width=\"300\" height=\"189\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9462-300x189.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9462.jpg 538w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">num\u3092\u51fa\u529b\u3057\u3066\u304b\u3089\u3001until\u306e\u6761\u4ef6\u5f0f\u306e\u5224\u5b9a\u306b\u5165\u308b\u306e\u3067\u7d50\u679c\u306f1\u304b\u30894\u307e\u3067\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9463.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9671\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/9463.jpg\" alt=\"9\" width=\"234\" height=\"51\" \/><\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u7ae0\u3067\u306funtil\u6587\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 until\u3082while\u3068\u540c\u3058\u304f\u7e70\u308a\u8fd4\u3057\u3092\u884c\u3046\u5834\u9762\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 until\u306f\u5b9f\u884c\u3055\u308c\u308b\u6642\u306b\u6761\u4ef6\u5f0f\u304ctrue\u3082\u3057\u304f\u306ffalse\u3067\u3042\u308b\u306e\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002 false\u3067\u3042\u308b\u5834\u5408 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[557],"tags":[164],"class_list":["post-9656","post","type-post","status-publish","format-standard","hentry","category-ruby","tag-until"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/9656"}],"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=9656"}],"version-history":[{"count":1,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/9656\/revisions"}],"predecessor-version":[{"id":9672,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/9656\/revisions\/9672"}],"wp:attachment":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}