{"id":749,"date":"2021-02-06T03:32:45","date_gmt":"2021-02-05T18:32:45","guid":{"rendered":"https:\/\/machiaworx.net\/?p=749"},"modified":"2021-02-06T03:33:39","modified_gmt":"2021-02-05T18:33:39","slug":"%e3%82%b8%e3%83%a3%e3%82%b0%e9%85%8d%e5%88%97%e3%80%82","status":"publish","type":"post","link":"https:\/\/machiaworx.net\/?p=749","title":{"rendered":"\u30b8\u30e3\u30b0\u914d\u5217\u3002"},"content":{"rendered":"<p>\u78ba\u8a8d\u3057\u3066\u3059\u3054\u3044\u611f\u52d5\u3057\u305f\u306e\u3067\u66f8\u3044\u3066\u304a\u304f\u3002<\/p>\n<h3>\u914d\u5217\u306e\u5b9a\u7fa9<\/h3>\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u3088\u3046\u306a\u5b9a\u7fa9\u304c\u53ef\u80fd\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nlst1=[1,2,3,4,5,[6,7,8],9,10]\r\nprint lst1[5][1]\r\n<\/pre>\n<p>\u51fa\u529b\uff1a7<\/p>\n<p>\u53c2\u8003\u8cc7\u6599<br \/>\n<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/dotnet\/csharp\/programming-guide\/arrays\/jagged-arrays\">\u30b8\u30e3\u30b0\u914d\u5217 &#8211; C# \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u30ac\u30a4\u30c9 | Microsoft Docs<\/a><\/p>\n<p>\u5b9f\u306fMiniscript\u3067\u30e9\u30a4\u30d6\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u74b0\u5883\u3092\u4f5c\u308d\u3046\u3068\u3057\u3066\u305f\u3093\u3060\u3051\u3069\u3001<br \/>\n\u30b8\u30e3\u30b0\u914d\u5217\u304c\u3067\u304d\u308b\u304b\u308f\u304b\u3089\u3093\u304b\u3063\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u305f\u306e\u306d\u3002<\/p>\n<p>Lisp\u307f\u305f\u3044\u306a\u74b0\u5883\u3067\u3042\u308c\u3070\u69cb\u9020\u81ea\u4f53\u3092\u4fdd\u5b58\u3059\u308b\u306e\u3067\u3001<br \/>\n\u307e\u3041\u3067\u304d\u308b\u3093\u3060\u308d\u3046\u306a\u3068\u601d\u3063\u3066\u305f\u3051\u3069\u3001\u624b\u7d9a\u304d\u578b\u8a00\u8a9e\u3067\u3042\u307e\u308a\u3053\u3046\u3044\u3046\u306e\u3084\u308b\u6a5f\u4f1a\u3082\u306a\u3044\u306e\u3067\u3001<br \/>\n\u5b9f\u884c\u3057\u3066\u307f\u3066\u52d5\u304f\uff01\u3063\u3066\u306e\u304c\u5206\u304b\u3063\u3066\u3059\u3054\u3044\u30c6\u30f3\u30b7\u30e7\u30f3\u304c\u3042\u304c\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u8a00\u8a9e\u306e\u4ed5\u69d8\u7684\u306b\u3059\u3054\u3044\u67d4\u8edf\u3067\u3001\u30b8\u30e3\u30b0\u914d\u5217\u306e\u8981\u7d20\u62bd\u51fa\u3082\u8a8d\u8b58\u3067\u304d\u305f\u306e\u3067\u3001<br \/>\n\u3053\u3053\u307e\u3067\u3067\u304d\u308b\u3082\u306e\u306a\u306e\u304b\uff01\u3068\u611f\u52d5\u3057\u305f\u6b21\u7b2c\u3067\u3059\u3002<br \/>\n\u3059\u3052\u3048\u3088Miniscript\u3002<\/p>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u5b9f\u884c\u4e2d\u306b\u914d\u5217\u306e\u6709\u7121\u306e\u691c\u51fa\u306e\u5fc5\u8981\u3082\u3042\u308a\u305d\u3046\u3060\u3051\u3069\u3001<br \/>\n\u305d\u308c\u3082\u89e3\u6c7a\u3067\u304d\u305d\u3046\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nlst1=[1,2,3,4,5,[6,7,8],9,10]\r\nprint lst1[5].hasIndex(2)\r\n<\/pre>\n<p>\u51fa\u529b\uff1a1<\/p>\n<p>\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u300c(\u5909\u6570).hasIndex(x)\u300d\u3067\u3001\u8981\u7d20\u6570\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u5074\u3067\u51e6\u7406\u3059\u308b\u5834\u5408C\u5074\u3067hasIndex\u3067\u304d\u308b\u304b\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u306f\u3042\u308b\u3093\u3060\u3051\u3069\u3001<br \/>\n\u307e\u305a\u4e0a\u8a18\u306e\u3088\u3046\u306a\u5f62\u3067\u8a00\u8a9e\u4e0a\u3067\u914d\u5217\u6240\u6301\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n<p>\u81ea\u4f5c\u3067\u3082\u8a00\u8a9e\u7684\u306b\u30d0\u30ae\u30fc\u306a\u3082\u3093\u3092\u4f5c\u3063\u3066\u305f\uff08\u914d\u5217\u3084\u6587\u6cd5\u306b\u5f37\u3044\u5236\u7d04\u306e\u3042\u308b\u3082\u306e\u3068\u304b\uff09\u306e\u3067\u3001<br \/>\n\u3053\u3046\u3044\u3046\u306e\u304c\u5b9f\u88c5\u3055\u308c\u3066\u3057\u304b\u3082\u30b7\u30f3\u30d7\u30eb\u304b\u3064\u9ad8\u6a5f\u80fd\u306b\u52d5\u3044\u3066\u3044\u308b\u3053\u3068\u306b\u611f\u52d5\u3092\u899a\u3048\u307e\u3057\u305f\u3088\u3048\u3048\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u78ba\u8a8d\u3057\u3066\u3059\u3054\u3044\u611f\u52d5\u3057\u305f\u306e\u3067\u66f8\u3044\u3066\u304a\u304f\u3002 \u914d\u5217\u306e\u5b9a\u7fa9 \u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u3088\u3046\u306a\u5b9a\u7fa9\u304c\u53ef\u80fd\u3002 \u51fa\u529b\uff1a7 \u53c2\u8003\u8cc7\u6599 \u30b8\u30e3\u30b0\u914d\u5217 &#8211; C# \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u30ac\u30a4\u30c9 | Microsoft Docs \u5b9f\u306fMiniscri&hellip; <span class=\"clear\"><\/span><a href=\"https:\/\/machiaworx.net\/?p=749\" class=\"more-link read-more\" rel=\"bookmark\"><span class=\"screen-reader-text\">\u30b8\u30e3\u30b0\u914d\u5217\u3002<\/span><i class=\"fa fa-arrow-right\"><\/i> \u306e\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,4],"tags":[],"class_list":["post-749","post","type-post","status-publish","format-standard","hentry","category-miniscript","category-pgm"],"_links":{"self":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=749"}],"version-history":[{"count":2,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/749\/revisions"}],"predecessor-version":[{"id":752,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/749\/revisions\/752"}],"wp:attachment":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}