{"id":691,"date":"2018-02-18T09:43:00","date_gmt":"2018-02-18T00:43:00","guid":{"rendered":"https:\/\/sparrow9630.net\/?p=691"},"modified":"2018-02-18T09:43:00","modified_gmt":"2018-02-18T00:43:00","slug":"else%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=691","title":{"rendered":"else\u6587\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3088\u3046"},"content":{"rendered":"<h4><font color=\"#0000ff\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">if<\/span>\u306b\u300c\u305d\u3046\u3067\u306a\u304b\u3063\u305f\u300d\u3092\u8ffd\u52a0<\/font><\/h4>\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);\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">if<\/span>\u6587\u3067\u306f<\/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);\">\u305d\u3046\u3067\u3042\u3063\u305f\u6642\u306e\u51e6\u7406\u306f\u3067\u304d\u308b\u304c\u3001<\/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);\">\u305d\u3046\u3067\u306a\u304b\u3063\u305f\u6642\u306e\u51e6\u7406\u304c\u51fa\u6765\u306a\u304b\u3063\u305f\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);\">\u305d\u3053\u3067\u3001\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">else<\/span>\u300d\u3092\u4f7f\u3063\u3066\u305d\u3046\u3067\u306a\u304b\u3063\u305f\u5834\u5408\u306e\u51e6\u7406\u3092\u8ffd\u52a0\u3059\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><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">let <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u308a\u3093\u3054<\/span> = 100<\/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\">let <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u307f\u304b\u3093<\/span> = 120<\/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\">if <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u308a\u3093\u3054<\/span> == <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u307f\u304b\u3093<\/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\">&nbsp; &nbsp; print<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">(<\/span>&#8220;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u540c\u3058\u4fa1\u683c<\/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\">} else {<\/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;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u9055\u3046\u91d1\u984d<\/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;.Hiragino Kaku Gothic Interface&quot;;\"><font color=\"#7f7f7f\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">print<\/span>(<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&#8220;<\/span>\u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&#8220;<\/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><\/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);\">\u91d1\u984d\u304c\u9055\u3046\u306e\u3067\u3001\u300c\u9055\u3046\u91d1\u984d\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/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);\"><\/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);\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">if<\/span>\u6587\u306e<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">else<\/span>\u6587\u3092\u52a0\u3048\u308b\u4e8b\u3067\u3001\u6761\u4ef6\u3092\u6e80\u305f\u3055\u306a\u3044\uff08<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">false<\/span>\uff09\u306b\u3060\u3051\u5b9f\u884c\u3059\u308b\u51e6\u7406\u3092\u8ffd\u52a0\u3067\u304d\u308b\u4e8b\u304b\u3089\u3001<\/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);\">\u30c6\u30b9\u30c8\u3067\u3001<\/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);\">\uff16\uff10\u70b9\u4ee5\u4e0a\u306a\u3089\u300c\u5408\u683c\u300d<\/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);\">\uff16\uff10\u70b9\u4ee5\u4e0b\u306a\u3089\u300c\u4e0d\u5408\u683c\u300d<\/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);\">\u3068\u8868\u793a\u3055\u305b\u308b\u4e8b\u304c\u3067\u304d\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);\">\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;;\"><font color=\"#7f7f7f\">let <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u70b9\u6570<\/span> = 60<\/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\">if <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u70b9\u6570<\/span> &gt;= 60 {<\/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;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u5408\u683c<\/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\">}else{<\/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;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u4e0d\u5408\u683c<\/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;.Hiragino Kaku Gothic Interface&quot;;\"><font color=\"#7f7f7f\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">print<\/span>(<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&#8220;<\/span>\u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&#8220;<\/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><\/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);\">\u3067\u304d\u308c\u3070<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">if<\/span>\u6587\u3067\u306f\u6df7\u4e71\u3092\u907f\u3051\u308b\u70ba\u306b\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">!=<\/span>\u300d\u306e\u6f14\u7b97\u5b50\u306f\u4f7f\u308f\u306a\u3044\u69d8\u306b\u3002<\/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-691","post","type-post","status-publish","format-standard","hentry","category-swift"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":109,"url":"https:\/\/sparrow9630.net\/?p=109","url_meta":{"origin":691,"position":0},"title":"if\u6587","author":"sparrow9630","date":"2014-09-22","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":956,"url":"https:\/\/sparrow9630.net\/?p=956","url_meta":{"origin":691,"position":1},"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":946,"url":"https:\/\/sparrow9630.net\/?p=946","url_meta":{"origin":691,"position":2},"title":"switch\u6587\u306e\u4fbf\u5229\u306a\u4f7f\u3044\u65b9","author":"sparrow9630","date":"2018-02-24","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":693,"url":"https:\/\/sparrow9630.net\/?p=693","url_meta":{"origin":691,"position":3},"title":"else If\u5206\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3088\u3046","author":"sparrow9630","date":"2018-02-18","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":690,"url":"https:\/\/sparrow9630.net\/?p=690","url_meta":{"origin":691,"position":4},"title":"If\u6587\u306e\u3064\u304b\u3044\u304b\u305f\u3092\u899a\u3048\u3088\u3046","author":"sparrow9630","date":"2018-02-16","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":691,"position":5},"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":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/posts\/691","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=691"}],"version-history":[{"count":0,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/posts\/691\/revisions"}],"wp:attachment":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}