{"id":954,"date":"2018-03-02T19:56:42","date_gmt":"2018-03-02T10:56:42","guid":{"rendered":"https:\/\/sparrow9630.net\/?p=954"},"modified":"2018-03-02T19:56:42","modified_gmt":"2018-03-02T10:56:42","slug":"while%e6%96%87%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%e3%82%92%e8%a6%9a%e3%81%88%e3%82%88%e3%81%86","status":"publish","type":"post","link":"https:\/\/sparrow9630.net\/?p=954","title":{"rendered":"while\u6587\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3088\u3046"},"content":{"rendered":"<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u6761\u4ef6\u3092\u6e80\u305f\u3059\u3068\u304d\u306f\u305a\u3063\u3068\u7e70\u308a\u8fd4\u3057\uff01<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u306b\u306f\u3001\u3082\u3046\u4e00\u3064\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">while<\/span>\u300d\u3068\u8a00\u3046\u3001\u5236\u5fa1\u69cb\u6587\u304c\u3042\u308b\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">var <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u53f0\u6570<\/span> = 0<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">while <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u53f0\u6570<\/span> &lt;= 10{<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">&nbsp; &nbsp; <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u53f0\u6570<\/span> += 1<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">&nbsp; &nbsp; print<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">(<\/span>&#8220;iphone\\<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">(\u53f0\u6570)\u53f0\u76ee\u8cfc\u5165<\/span>&#8220;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">)<\/span><\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">}<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">print<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">(<\/span>&#8220;iphone<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u3092\u901a\u7b97<\/span>\\<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">(\u53f0\u6570)\u53f0\u8cb7\u3063\u305f<\/span>&#8220;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">)<\/span><\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">while<\/span>\u6587\u306e\u53f3\u306b\u306f\u6761\u4ef6\u5f0f\u3092\u66f8\u304f\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u30eb\u30fc\u30d7\u306e\u4e2d\u3067\u3001\u300c\u53f0\u6570\u300d\u306b\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">1<\/span>\u300d\u3092\u8db3\u3057\u3066\u6570\u5b57\u3092\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">print<\/span>\u300d\u3067\u51fa\u529b\u3057\u3066\u308b\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u6761\u4ef6\u5f0f\u304c\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">ture<\/span>\u300d\u306e\u9593\u3001\u30eb\u30fc\u30d7\u3059\u308b\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><font color=\"#ff0000\"><u>\u6761\u4ef6\u3092\u629c\u3051\u308b\u306b\u306f\u6761\u4ef6\u5f0f\u304c\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">false<\/span>\u300d\u306b\u306a\u308b\u3088\u3046\u306a\u51e6\u7406\u3092<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">{&nbsp; }<\/span>\u5185\u306b\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308b\uff01<\/u><\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u7d50\u679c<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\">\u2193\u2193\u2193<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone2<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone3<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone4<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone5<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone6<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone7<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone8<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone9<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone10<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone11<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u76ee\u8cfc\u5165<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69);\"><b>iphone<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u3092\u901a\u7b97<\/b><\/span><b>11<\/b><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><b>\u53f0\u8cb7\u3063\u305f<\/b><\/span><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u901a\u7b97\u306e\u6570\u306f\u3001\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&lt;= 10<\/span>\u300d\u306a\u306e\u3067\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">11<\/span>\u53f0<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"> <\/span>\u300d\u306b\u306a\u308b\u306e\u3067\u6ce8\u610f\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><font color=\"#ff0000\">\u7121\u9650\u30eb\u30fc\u30d7\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\uff01<\/font><\/p>\n<div><\/div>\n<p>\n<!--more--><br \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[72],"tags":[],"class_list":["post-954","post","type-post","status-publish","format-standard","hentry","category-swift"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":956,"url":"https:\/\/sparrow9630.net\/?p=956","url_meta":{"origin":954,"position":0},"title":"Swift\u8d85\u5165\u9580\u306e\u307e\u3068\u3081","author":"sparrow9630","date":"2018-03-04","format":false,"excerpt":"","rel":"","context":"Swift\u8d85\u5165\u9580","block_context":{"text":"Swift\u8d85\u5165\u9580","link":"https:\/\/sparrow9630.net\/?cat=72"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":950,"url":"https:\/\/sparrow9630.net\/?p=950","url_meta":{"origin":954,"position":1},"title":"for\u6587\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3088\u3046","author":"sparrow9630","date":"2018-02-26","format":false,"excerpt":"","rel":"","context":"Swift\u8d85\u5165\u9580","block_context":{"text":"Swift\u8d85\u5165\u9580","link":"https:\/\/sparrow9630.net\/?cat=72"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":228,"url":"https:\/\/sparrow9630.net\/?p=228","url_meta":{"origin":954,"position":2},"title":"\u30d1\u30f3\u30b8\u30a7\u30b9\u30c1\u30e3\u30fc\u30ec\u30b3\u30b0\u30ca\u30a4\u30b6","author":"sparrow9630","date":"2015-01-17","format":false,"excerpt":"","rel":"","context":"iOS\u30a2\u30d7\u30ea\u4f5c\u6210\u3000ACT1","block_context":{"text":"iOS\u30a2\u30d7\u30ea\u4f5c\u6210\u3000ACT1","link":"https:\/\/sparrow9630.net\/?cat=9"},"img":{"alt_text":"panreko.png","src":"https:\/\/i0.wp.com\/blog-imgs-76.fc2.com\/s\/p\/a\/sparrow9630\/panreko.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":861,"url":"https:\/\/sparrow9630.net\/?p=861","url_meta":{"origin":954,"position":3},"title":"MY\u9053\u5834\u3078\u3069\u3046\u3058\u3087\uff5e\uff08mixi\u3088\u308a\uff09","author":"sparrow9630","date":"2008-10-12","format":false,"excerpt":"","rel":"","context":"\u65e5\u8a18","block_context":{"text":"\u65e5\u8a18","link":"https:\/\/sparrow9630.net\/?cat=16"},"img":{"alt_text":"\u3042\u305b\u3042\u305b","src":"https:\/\/i0.wp.com\/img.mixi.net\/img\/emoji\/206.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":167,"url":"https:\/\/sparrow9630.net\/?p=167","url_meta":{"origin":954,"position":4},"title":"\u8272\u3005\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","author":"sparrow9630","date":"2014-10-27","format":false,"excerpt":"","rel":"","context":"iOS\u30a2\u30d7\u30ea\u4f5c\u6210\u3000ACT1","block_context":{"text":"iOS\u30a2\u30d7\u30ea\u4f5c\u6210\u3000ACT1","link":"https:\/\/sparrow9630.net\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":181,"url":"https:\/\/sparrow9630.net\/?p=181","url_meta":{"origin":954,"position":5},"title":"\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30aa\u30d7\u30b7\u30e7\u30f3","author":"sparrow9630","date":"2014-11-23","format":false,"excerpt":"","rel":"","context":"iOS\u30a2\u30d7\u30ea\u4f5c\u6210\u3000ACT1","block_context":{"text":"iOS\u30a2\u30d7\u30ea\u4f5c\u6210\u3000ACT1","link":"https:\/\/sparrow9630.net\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/posts\/954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=954"}],"version-history":[{"count":0,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/posts\/954\/revisions"}],"wp:attachment":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}