{"id":2243,"date":"2014-04-09T22:48:49","date_gmt":"2014-04-09T13:48:49","guid":{"rendered":"http:\/\/oohito.com\/nqthm\/?p=2243"},"modified":"2022-09-14T17:57:58","modified_gmt":"2022-09-14T08:57:58","slug":"scratch-1-4%e3%81%a7%e3%83%96%e3%83%ad%e3%83%83%e3%82%af%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab","status":"publish","type":"post","link":"https:\/\/oohito.com\/nqthm\/archives\/2243","title":{"rendered":"Scratch 1.4\u3067\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb"},"content":{"rendered":"<p>\u6388\u696d\u3067\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u6559\u3048\u308b\u306e\u306b\u666e\u901a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u4f7f\u308f\u306a\u3044\u65b9\u6cd5\u3092\u63a2\u3057\u3066\u3044\u3066\u3001Scratch\u3067\u3044\u3044\u3058\u3083\u3093\u3068\u601d\u3063\u305f\u3051\u3069\u3001Scratch\u3060\u3068\u7c21\u5358\u306a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u8a18\u8ff0\u3059\u308b\u306e\u306b\u591a\u304f\u306e\u30d6\u30ed\u30c3\u30af\u304c\u5fc5\u8981\u3060\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u304b\u3048\u3063\u3066\u9762\u5012\u304f\u3055\u304f\u306a\u308b\u3002<br \/>\n\u305d\u3053\u3067\u3001\u7c21\u5358\u306a\u30bd\u30fc\u30c8\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u5b9f\u88c5\u3059\u308b\u306e\u306b\u6709\u7528\u306a\u30d6\u30ed\u30c3\u30af\u3092Scratch\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<br \/>\n\u305d\u3082\u305d\u3082Scratch 2.0\u3092\u4f7f\u3048\u3070\u81ea\u7531\u306b\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u308c\u308b\u304c\u3001\u3053\u3053\u3067\u306fSmalltalker\u3089\u3057\u304fScratch 1.4\u3092\u6539\u9020\u3057\u3066\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3059\u3002<br \/>\n\u7c21\u5358\u306b\u8aac\u660e\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3089\u3001\u304b\u306a\u308a\u306e\u5927\u90e8\u306b\u306a\u3063\u305f\u306e\u3067\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3068\u3057\u3066\u516c\u958b\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u304a\u305d\u3089\u304f\u4eca\u306e\u6642\u70b9\u3067\u3053\u308c\u3092\u5fc5\u8981\u3068\u3059\u308b\u4eba\u306f\u3044\u306a\u3044\u3060\u308d\u3046\u304c\u3001\u5099\u5fd8\u9332\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304f\u3002<br \/>\n<!--more--><\/p>\n<h2>\u6e96\u5099<\/h2>\n<h3>Scratch 1.4\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u307e\u305aScratch 1.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3002<br \/>\nScratch 1.4\u306f<a href=\"http:\/\/scratch.mit.edu\/scratch_1.4\/\">\u3053\u3053<\/a>\u304b\u3089\u81ea\u5206\u306e\u74b0\u5883\u306b\u3042\u3063\u305f\u3082\u306e\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3089\u5c55\u958b\u3057\u3066\u3001\u7d20\u306eScratch\u304c\u8d77\u52d5\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304f\u3002\u7d30\u304b\u3044\u624b\u9806\u306f\u7701\u7565\u3002<\/p>\n<h3>Scratch 1.4\u306e\u30bd\u30fc\u30b9\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<p>\u6b21\u306bScratch 1.4\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\uff08\u3044\u308f\u3086\u308bBased on Scratch\u306e\u30a4\u30e1\u30fc\u30b8\uff09\u3092\u624b\u306b\u5165\u308c\u308b\u3002<br \/>\n\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f<a href=\"http:\/\/wiki.scratch.mit.edu\/wiki\/Scratch_1.4_Source_Code\">\u3053\u306e\u30da\u30fc\u30b8<\/a>\u306e\u4e2d\u7a0b\u306b\u3042\u308bScratchSource1.4.zip\u306e\u30ea\u30f3\u30af\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3089\u5c55\u958b\u3057\u3066\u3001\u5148\u307b\u3069Scratch\u3092\u5c55\u958b\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306bScratchSourceCode1.4.image\u3068ScratchSourceCode1.4.changes\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304f\u3002<\/p>\n<h2>Based on Scratch\u306e\u8d77\u52d5<\/h2>\n<p>ScratchSource1.4\u306b\u542b\u307e\u308c\u308b\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb(ScratchSourceCode1.4.image)\u3067Scratch\u3092\u8d77\u52d5\u3059\u308b\u3002<br \/>\n\u304a\u304a\u3080\u306d\u3069\u306e\u74b0\u5883\u3067\u3082\u3001ScratchSourceCode1.4.image\u3092\u3001Scratch\u306e\u5b9f\u884c\u5f62\u5f0f\u306b\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3059\u308c\u3070\u8d77\u52d5\u3067\u304d\u308b\u306f\u305a\u3002<br \/>\n\u8d77\u52d5\u3059\u308b\u3068\u4e0b\u306e\u753b\u9762\u306e\u3088\u3046\u306b\u3001\u3044\u3064\u3082\u306fScratch\u3068\u66f8\u304b\u308c\u308b\u5de6\u4e0a\u306e\u5834\u6240\u304cBased on Scratch\u306b\u5909\u308f\u308a\u3001Scratch cat\u304c\u9854\u306e\u898b\u3048\u306a\u3044\u732b\u306e\u80cc\u4e2d\u306b\u5909\u308f\u3063\u3066\u3044\u308b\u3002<\/p>\n<figure id=\"attachment_2244\" aria-describedby=\"caption-attachment-2244\" style=\"width: 1026px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-20.10.00-1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2244 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-20.10.00-1.png\" alt=\"ScratchSourceCode1.4\u306e\u8d77\u52d5\u753b\u9762\" width=\"1026\" height=\"790\" \/><\/a><figcaption id=\"caption-attachment-2244\" class=\"wp-caption-text\">ScratchSourceCode1.4\u306e\u8d77\u52d5\u753b\u9762<\/figcaption><\/figure>\n<p>Scratch\u306e\u753b\u9762\u306e\u88cf\u306b\u306f\u808c\u8272\u3068\u7dd1\u8272\u306e\uff12\u3064\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u898b\u3048\u3066\u3044\u308b\u3002\u808c\u8272\u306e\u65b9\u304c\u3053\u306e\u30a4\u30e1\u30fc\u30b8\u306e\u4f7f\u3044\u65b9\u306a\u3069\u304c\u66f8\u304b\u308c\u305f\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3001\u7dd1\u8272\u306e\u65b9\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4fee\u6b63\u3059\u308b\u30b7\u30b9\u30c6\u30e0\u30d6\u30e9\u30a6\u30b6\u3067\u3042\u308b\u3002<br \/>\n\u306a\u304a\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u64cd\u4f5c\u3059\u308b\u5834\u5408\u3001\u30bf\u30a4\u30c8\u30eb\u30d0\u30fc\u90e8\u5206\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u624b\u524d\u306b\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002Scratch\u306e\u753b\u9762\u306b\u306f\u30bf\u30a4\u30c8\u30eb\u30d0\u30fc\u3089\u3057\u304d\u3082\u306e\u306f\u306a\u3044\u304c\u3001\u30bf\u30a4\u30c8\u30eb\u30d0\u30fc\u304c\u3042\u308b\u3079\u304d\u4ed8\u8fd1\u3092\u30af\u30ea\u30c3\u30af\u3059\u308c\u3070\u624b\u524d\u306b\u3082\u3063\u3066\u6765\u308c\u308b\u3002<\/p>\n<h2>\u30d6\u30ed\u30c3\u30af\u306e\u5b9a\u7fa9<\/h2>\n<p>\u7dd1\u8272\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u306eSystem Browser\u3068\u66f8\u304b\u308c\u305f\u30bf\u30a4\u30c8\u30eb\u30d0\u30fc\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30b7\u30b9\u30c6\u30e0\u30d6\u30e9\u30a6\u30b6\u304c\u624b\u524d\u306b\u8868\u793a\u3055\u308c\u308b\u3002<br \/>\n\u3061\u3083\u3093\u3068\u30bf\u30a4\u30c8\u30eb\u30d0\u30fc\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3044\u308c\u3070\u3001Scratch\u306b\u65b0\u3057\u3044\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3059\u308b\u30d2\u30f3\u30c8\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2246 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-20.30.06-1.png\" alt=\"System Browser\u753b\u9762\" width=\"612\" height=\"427\" \/><br \/>\n\u4e0a\u306e\u753b\u9762\u306e\u3088\u3046\u306b\u3001ScratchSpriteMorph\u30af\u30e9\u30b9\u306eblockSpecs\u3068\u3044\u3046\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306e\u30bd\u30fc\u30b9\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3060\u308d\u3046\u3002<br \/>\n\u3053\u306e\u753b\u9762\u3092\u3088\u304f\u898b\u308b\u3068\u3053\u3093\u306a\u3053\u3068\u304c\u66f8\u304b\u308c\u3066\u3044\u308b\u3002<\/p>\n<pre>blocks _ #(\n    'motion'\n        ('move %n steps'        -  forward:)\n        ('turn %n degrees'      -  turnRight: 15) \"icon shows turn direction\"<\/pre>\n<p>\u3053\u308c\u306f\u3001\u52d5\u304d\uff08motion\uff09\u306e\u30ab\u30c6\u30b4\u30ea\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9a\u7fa9\u3057\u3066\u304a\u308a\u3001\uff13\u884c\u76ee\u3068\uff14\u884c\u76ee\u3092\u898b\u308b\u3068\u300c\u25cb\u6b69\u52d5\u304b\u3059\u300d(move %n steps)\u3068\u300c\u25cb\u5ea6\u56de\u3059\u300d(turn %n degrees)\u306e\u30d6\u30ed\u30c3\u30af\u3092\uff11\u884c\u306b\u3064\u304d\uff11\u3064\u305a\u3064\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3002\u3064\u307e\u308a\u3001\u3053\u3053\u3092\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u3067\u52d5\u304d\u30ab\u30c6\u30b4\u30ea\u306e\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3057\u305f\u308a\u4fee\u6b63\u3067\u304d\u308b\u3002<br \/>\n(move %n steps)\u306e\u884c\u306b\u3064\u3044\u3066\u6b63\u78ba\u306b\u898b\u3066\u884c\u3053\u3046\u3002\u3053\u306e\u884c\u306f\u30ab\u30c3\u30b3\u3067\u56f2\u307e\u308c\u305f\u4e2d\u306b\u4ee5\u4e0b\u306e\uff13\u3064\u306e\u8981\u7d20\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3002\u3059\u306a\u308f\u3061\u3001\u300c&#8217;move %n steps&#8217;\u300d\u3068\u300c-\u300d\u3068\u300cforward:\u300d\u3060\u304c\u3001\u300c\u30d6\u30ed\u30c3\u30af\u306e\u5185\u5bb9\u300d\u300c\u30d5\u30e9\u30b0\u300d\u300c\u30e1\u30c3\u30bb\u30fc\u30b8\u30bb\u30ec\u30af\u30bf\u300d\u306e\u9806\u306b\u4e26\u3093\u3067\u3044\u308b\u3002\u30d5\u30e9\u30b0\u306e\u300c-\u300d\u306f\u30d5\u30e9\u30b0\u7121\u3057\u3092\u8868\u3057\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u30bb\u30ec\u30af\u30bf\u300cforward:\u300d\u306b\u4ed8\u3051\u3089\u308c\u305f\u300c:\u300d\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u30ad\u30fc\u30ef\u30fc\u30c9\u4ed8\u304d\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u3042\u308b\u3053\u3068\u3092\u8868\u3057\u3066\u3044\u308b\u3002<br \/>\n\u3088\u3046\u3059\u308b\u306b\u3001\u300c&#8217;move %n steps&#8217;\u300d\u3068\u3044\u3046\u30d6\u30ed\u30c3\u30af\u306f\u300cforward:\u300d\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\uff08\u5f15\u6570\u4ed8\u304d\u3067\uff09\u9001\u308b\u3053\u3068\u304c\u8868\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\nforward:\u306e\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u306f\u3001ScratchSpriteMorph\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u3057\u3066\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u3002System Browser\u306e\u4e2d\u307b\u3069\u306b\u3042\u308binstance\u3068\u3044\u3046\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5074\u304c\u8868\u793a\u3055\u308c\u308b\u3002\u4e0a\u6bb5\u5de6\u304b\u3089\uff13\u756a\u76ee\u306e\u30da\u30a4\u30f3\uff08\u30e1\u30bd\u30c3\u30c9\u30ab\u30c6\u30b4\u30ea\u30da\u30a4\u30f3\uff09\u306e\u4e2d\u304b\u3089motion ops\u3092\u9078\u3076\u3068\u3001\u5de6\u304b\u3089\uff14\u756a\u76ee\u306e\u30da\u30a4\u30f3\uff08\u30e1\u30bd\u30c3\u30c9\u30da\u30a4\u30f3\uff09\u306bforward:\u304c\u73fe\u308c\u308b\u3002forward:\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30e1\u30bd\u30c3\u30c9\u306e\u5185\u5bb9\u304c\u4e0b\u6bb5\u306b\u8868\u793a\u3055\u308c\u308b\u3002(\u4e0b\u56f3\uff09<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2247 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-20.51.10-1.png\" alt=\"forward:\u306e\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\" width=\"615\" height=\"540\" \/><\/p>\n<h2>\u30d6\u30ed\u30c3\u30af\u306e\u8ffd\u52a0<\/h2>\n<p>\u52d5\u304d\u30ab\u30c6\u30b4\u30ea\u306e\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3059\u308b\u306a\u3089\u3001\u4e0a\u8a18\u306e\u5834\u6240\u3067\u4f55\u3068\u304b\u3059\u308c\u3070\u826f\u3044\u3002<br \/>\n\u4eca\u56de\u306f\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u5b66\u7fd2\u7528\u306a\u306e\u3067\u5909\u6570\u3084\u30ea\u30b9\u30c8\u306b\u95a2\u3059\u308b\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3002<br \/>\n\u5177\u4f53\u7684\u306b\u306f\u3001\u30ea\u30b9\u30c8\u306e\uff11\u756a\u76ee\u306e\u8981\u7d20\u3068\uff15\u756a\u76ee\u306e\u8981\u7d20\u3092\u4ea4\u63db\u3059\u308b\u3088\u3046\u306b\u3001\u30ea\u30b9\u30c8\u306e\uff12\u30ab\u6240\u306e\u8981\u7d20\u3092\u4ea4\u63db\u3059\u308b\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3002<br \/>\n\u8ffd\u52a0\u3059\u308b\u30d6\u30ed\u30c3\u30af\u306f\u3001\u300cswap item (\u4f4d\u7f6e) of (\u30ea\u30b9\u30c8) for item (\u4f4d\u7f6e)\u300d\u306e\u3088\u3046\u306a\u3082\u306e\u3068\u3059\u308b\u3002\u65e5\u672c\u8a9e\u306a\u3089\u300c(\u30ea\u30b9\u30c8)\u306e(\u4f4d\u7f6e)\u756a\u76ee\u3068(\u4f4d\u7f6e)\u756a\u76ee\u306e\u8981\u7d20\u3092\u4ea4\u63db\u3059\u308b\u300d\u307f\u305f\u3044\u306a\u3002<br \/>\n\u5148\u307b\u3069\u306eblockSpecs\u306b\u306f\u3001\u30ea\u30b9\u30c8\u306b\u95a2\u3059\u308b\u30d6\u30ed\u30c3\u30af\u306e\u5b9a\u7fa9\u304c\u898b\u5f53\u305f\u3089\u306a\u3044\u3002\u3069\u3046\u3059\u308b\u304b\uff1f<br \/>\n\u3053\u3053\u3067\u306f\u3069\u3053\u304b\u306e\u30af\u30e9\u30b9\u3067\u540c\u3058\u3088\u3046\u306a\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308a\u3001\u305d\u3053\u3067\u30ea\u30b9\u30c8\u306b\u95a2\u3059\u308b\u30d6\u30ed\u30c3\u30af\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3060\u308d\u3046\u3068\u5f53\u305f\u308a\u3092\u4ed8\u3051\u3066\u8abf\u3079\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\u3002<br \/>\n\u307e\u305a\u3001\u6700\u521d\u306eblockSpecs\u306e\u30e1\u30bd\u30c3\u30c9\u306b\u623b\u308b\u3002\uff08\u3064\u307e\u308ainstance\u306e\u53f3\u306eclass\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3001\u30e1\u30bd\u30c3\u30c9\u30ab\u30c6\u30b4\u30ea\u3067block specs\u3092\u9078\u3093\u3067\u3001blockSpecs\u30e1\u30bd\u30c3\u30c9\u3092\u9078\u3076\uff09<br \/>\n\u30e1\u30bd\u30c3\u30c9\u30da\u30a4\u30f3\u306eblockSpecs\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30e1\u30bd\u30c3\u30c9\u30da\u30a4\u30f3\u306e\u5de6\u5074\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u304c\u73fe\u308c\u308b\u3002<br \/>\n\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u4e0a\u30dc\u30bf\u30f3\u306e\u4e0a\u306b\u30de\u30a4\u30ca\u30b9\u306e\u30de\u30fc\u30af\u306e\u5c0f\u3055\u306a\u30dc\u30bf\u30f3\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<br \/>\n\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30cb\u30e5\u30fc\u304c\u73fe\u308c\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2249 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-21.13.25-1.png\" alt=\"\u30e1\u30bd\u30c3\u30c9\u30da\u30a4\u30f3\u306e\u30e1\u30cb\u30e5\u30fc\" width=\"251\" height=\"286\" \/><br \/>\n\u3053\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089implementors of &#8230;\u3092\u9078\u3076\u3068\u3001blockSpecs\u3092\u542b\u3080\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u30e1\u30cb\u30e5\u30fc\u304c\u73fe\u308c\u308b\u306e\u3067blockSpecs\u3092\u9078\u3076\u3068\u3001\u4e0b\u306e\u3088\u3046\u306a\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8868\u793a\u3055\u308c\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2250 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-21.15.29-1.png\" alt=\"Implementors of blockSpecs\" width=\"618\" height=\"178\" \/><br \/>\n\u3053\u308c\u306fblockSpecs\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u30af\u30e9\u30b9\u306e\u4e00\u89a7\u3067\u3042\u308b\u3002\u3053\u3053\u3067\u306f\uff13\u3064\u306e\u30af\u30e9\u30b9\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u304a\u308a\u3001\u305d\u306e\u3046\u3061\u306e\u4e00\u3064\uff08\u4e00\u756a\u4e0a\uff09\u306b\u5f53\u7136\u306a\u304c\u3089ScratchSpriteMorph\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3002<br \/>\n\u4ed6\u306e\u30a8\u30f3\u30c8\u30ea\u3092\u898b\u308b\u3068\u3001ScratchStageMorph\u3068ScriptableScratchMorph\u306e\uff12\u30ab\u6240\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3002<br \/>\nScratchStageMorph\u306f\u3001\u30b9\u30c6\u30fc\u30b8\u306b\u95a2\u3059\u308b\u30d6\u30ed\u30c3\u30af\u306e\u5b9a\u7fa9\u304c\u3042\u308a\u3001ScriptableScratchMorph\u3067\u306f\u30ea\u30b9\u30c8\u3082\u542b\u3080\u69d8\u3005\u306a\u30d6\u30ed\u30c3\u30af\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n\u3064\u307e\u308a\u3001ScriptableScratchMorph\u30af\u30e9\u30b9\u306eblockSpecs\u3092\u4fee\u6b63\u3059\u308c\u3070\u826f\u3044\u3053\u3068\u304c\u308f\u304b\u308b\u3002<br \/>\nImplementors\u306e\u753b\u9762\u3067\u306f\u5f8c\u306e\u64cd\u4f5c\u304c\u9762\u5012\u306a\u306e\u3067\u3001System Browser\u3067\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u306b\u3059\u308b\u3002<br \/>\nImplementors\u306e\u4e0a\u6bb5\u3067ScriptableScratchMorph\u306e\u884c\u3092\u9078\u3093\u3060\u3089\u3001\u5de6\u5074\u306e\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u4e0a\u306e\u300c-\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u30e1\u30cb\u30e5\u30fc\u3092\u51fa\u3057\u3001\u4e00\u756a\u4e0a\u306ebrowse full\u3092\u9078\u3076\u3002\u305d\u3046\u3059\u308b\u3068ScriptableScratchMorph\u30af\u30e9\u30b9\u306eblockSpecs\u304c\u9078\u3070\u308c\u305f\u72b6\u614b\u3067\u3001\u65b0\u305f\u306aSystem Browser\u304c\u73fe\u308c\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2251 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-21.21.44-1.png\" alt=\"browse full\" width=\"278\" height=\"170\" \/><br \/>\n\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u3092\u4e0b\u306e\u65b9\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b\u3068\u30ea\u30b9\u30c8\u30ab\u30c6\u30b4\u30ea\u306e\u30d6\u30ed\u30c3\u30af\u5b9a\u7fa9\u304c\u73fe\u308c\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2253 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-21.25.33-1.png\" alt=\"\u30ea\u30b9\u30c8\u306e\u30d6\u30ed\u30c3\u30af\u5b9a\u7fa9\" width=\"500\" height=\"152\" \/><br \/>\n&#8216;replace item&#8217;\u306e\u5b9a\u7fa9\u304c\u4f7f\u3048\u305d\u3046\u306a\u306e\u3067\u3001\u305d\u308c\u3092\u53c2\u8003\u306b\u540c\u3058\u3088\u3046\u306a\u30a8\u30f3\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u3066\u307f\u308b\u3002\uff08\uff12\u884c\u76ee\u306e\u307f\u8ffd\u52a0\u3059\u308b\uff09<\/p>\n<pre>('replace item %i of %L with %s'  -  setLine:ofList:to: 1 'list' 'thing')\n('swap item %i of %L for item %i'  -  swapLine:ofList:for: 1 'list' 2)<\/pre>\n<p>\u3053\u306e\u30d6\u30ed\u30c3\u30af\u5b9a\u7fa9\u306f\u5148\u307b\u3069\u306eforward:\u3088\u308a\u82e5\u5e72\u8907\u96d1\u3067\u3042\u308b\u3002<br \/>\n\u5143\u306e&#8217;replace item %i of %L with %s&#8217;\u306b\u306f\u3001%i\u3001%L\u3001%s\u306e\uff13\u3064\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001\u3053\u308c\u3089\u306f\u9806\u306b\u6574\u6570\u3001\u30ea\u30b9\u30c8\u3001\u6587\u5b57\u5217\u306e\u5f15\u6570\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u3092\u8868\u3057\u3066\u3044\u308b\u3002<br \/>\n&#8216;swap item&#8217;\u3067\u306f\u30ea\u30b9\u30c8\u3068\uff12\u30ab\u6240\u306e\u8981\u7d20\u306e\u4f4d\u7f6e\u3092\u6307\u5b9a\u3057\u305f\u3044\u306e\u3067\u3001%i\u3001%L\u3001%i\u306e\uff13\u3064\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\n&#8216;replace item&#8217;\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u30bb\u30ec\u30af\u30bf\u306fsetLine:ofList:to:\u3068\u306a\u3063\u3066\u3044\u308b\u3002\u3053\u308c\u306f3\u3064\u306e\u5f15\u6570\u3092\u53d6\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u3057\u3066\u3044\u308b\u304c\u3001\u3053\u308c\u3089\u306e\u5f15\u6570\u306f\u5148\u307b\u3069\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u305d\u308c\u305e\u308c\u5bfe\u5fdc\u3059\u308b\u3002<br \/>\n&#8216;swap item&#8217;\u3067\u3082\u540c\u69d8\u306b\u3001swapLine:ofList:for:\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u30bb\u30ec\u30af\u30bf\u3068\u3057\u3001\u4f4d\u7f6e\u3001\u30ea\u30b9\u30c8\u3001\u4f4d\u7f6e\u306e\uff13\u3064\u306e\u5f15\u6570\u3092\u53d7\u3051\u53d6\u308b\u3088\u3046\u306b\u3059\u308b\u3002<br \/>\n\u30a8\u30f3\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u305f\u3089\u3001Command+S\uff08Windows\/Linux\u306a\u3089Alt+S\uff09\u3067\u4fee\u6b63\u3092\u4fdd\u5b58\u3057\u3066\u304a\u304f\u3002<\/p>\n<h2>\u30d6\u30ed\u30c3\u30af\u306b\u5bfe\u5fdc\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u8ffd\u52a0<\/h2>\n<h3>setLine:ofList:to:\u30e1\u30bd\u30c3\u30c9\u306e\u5b9a\u7fa9\u3092\u63a2\u3059<\/h3>\n<p>\u65b0\u3057\u3044\u30d6\u30ed\u30c3\u30af\u3092\u5b9a\u7fa9\u3067\u304d\u305f\u3089\u3001\u305d\u306e\u30d6\u30ed\u30c3\u30af\u306b\u5bfe\u3059\u308b\u51e6\u7406\u3092\u884c\u3046\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3002forward:\u3068\u540c\u69d8\u306b\u3001\u30ea\u30b9\u30c8\u3092\u51e6\u7406\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u306f\u3001ScriptableScratchMorph\u30af\u30e9\u30b9\u306einstance\u5074\u306b\u3042\u308b\u306e\u3067\u3001System Browser\u306einstance\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5074\u3092\u8868\u793a\u3059\u308b\u3002<br \/>\n\u6b21\u306b\u30e1\u30bd\u30c3\u30c9\u30ab\u30c6\u30b4\u30ea\u30da\u30a4\u30f3\u304b\u3089list ops\u3092\u9078\u3076\u3068\u3001\u30e1\u30bd\u30c3\u30c9\u30da\u30a4\u30f3\u306e\u4e00\u756a\u4e0b\u306bsetLine:ofList:to:\u304c\u898b\u3048\u308b\u306e\u3067\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2254 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-21.42.14-1.png\" alt=\"setLine:ofList:to:\" width=\"747\" height=\"364\" \/><br \/>\n\u753b\u9762\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u629c\u304d\u51fa\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre>setLine: lineNum ofList: listName to: anObject\n  | list |\n  list _ self listNamed: listName ifNone: [^ ''].\n  ^ list setLineAt: (self lineNum: lineNum forList: list) to: (self asListElement: anObject)<\/pre>\n<p>\uff08System Browser\u306e\u753b\u9762\u3067\u306f\u4e0b\u7dda\uff08_\uff09\u304c\u5de6\u77e2\u5370\uff08\u2190\uff09\u306b\u898b\u3048\u308b\u304c\u3001\u3053\u308c\u306f\u4ee3\u5165\u306e\u305f\u3081\u306e\u8a18\u53f7\u3092\u3042\u3089\u308f\u3057\u3066\u3044\u308b\uff09<br \/>\nsetLine:ofList:to:\u306e\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u306e\uff11\u884c\u76ee\u3067\u306f\u3001\u300c:\u300d\u306e\u5f8c\u306b\uff13\u3064\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\uff08lineNum, listName, anObject\uff09\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u304a\u308a\u3001\u305d\u308c\u305e\u308c\u8981\u7d20\u306e\u4f4d\u7f6e\u3001\u30ea\u30b9\u30c8\u306e\u540d\u524d\u3001\u683c\u7d0d\u3059\u308b\u5024\u3092\u8868\u3057\u3066\u3044\u308b\u3002<br \/>\n2\u884c\u76ee\u306f\u4e00\u6b21\u5909\u6570list\u304c\u5ba3\u8a00\u3055\u308c\u3066\u3044\u308b\u304c\u3001\u6b21\u306e\u884c\u3067\u3053\u306e\u5909\u6570\u306b\u5b9f\u969b\u306e\u30ea\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u683c\u7d0d\u3059\u308b\u3002<br \/>\n3\u884c\u76ee\u3067\u306f\u3001listName\u3092\u6301\u3064\u30ea\u30b9\u30c8\u3092\u63a2\u3057\u3001\u3042\u308c\u3070list\u306b\u683c\u7d0d\u3057\u3001\u306a\u3051\u308c\u3070\u7a7a\u306e\u6587\u5b57\u5217\u304c\u8fd4\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n4\u884c\u76ee\u3092\u8a73\u3057\u304f\u8aac\u660e\u3059\u308b\u3002<br \/>\n(self lineNum: lineNum forList: list)\u3067\u306f\u3001list\u306elistNum\u756a\u76ee\u306e\u672c\u5f53\u306e\u4f4d\u7f6e\u3092\u6c42\u3081\u3066\u3044\u308b\u3002listNum\u306b\u306f\u6570\u5024\u3060\u3051\u3067\u306a\u304f\u3001last\u306a\u3069\u306e\u6587\u5b57\u5217\u304c\u5165\u308b\u5834\u5408\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u308c\u3089\u306b\u5fdc\u3058\u305f\u9069\u5207\u306a\u5024\u3092\u8a08\u7b97\u3057\u3066\u3044\u308b\u3002<br \/>\n(self asListElement: anObject)\u3067\u306f\u3001\u30ea\u30b9\u30c8\u306b\u683c\u7d0d\u3059\u308b\u306e\u306b\u9069\u3057\u305f\u5024\u306b\u5909\u63db\u3057\u3066\u3044\u308b\u3002&#8217;swap item&#8217;\u3067\u306f\u4f7f\u308f\u306a\u3044\u306e\u3067\u8a73\u7d30\u306f\u7565\u3002<br \/>\nlist setLineAt: (&#8230;) to: (&#8230;)\u3067\u306f\u3001\u30ea\u30b9\u30c8\u306e\u6307\u5b9a\u3055\u308c\u305f\u4f4d\u7f6e\u3078\u5b9f\u969b\u306b\u5024\u3092\u683c\u7d0d\u3059\u308b\u3002<\/p>\n<h3>\u30ea\u30b9\u30c8\u306e\u8981\u7d20\u3092\u5f97\u308b\u306b\u306f\uff1f<\/h3>\n<p>&#8216;swap item&#8217;\u3067\u306f\u3001\u30ea\u30b9\u30c8\u306e\u6307\u5b9a\u3055\u308c\u305f\u4f4d\u7f6e\u306e\u8981\u7d20\u3068\u3001\u5225\u306e\u4f4d\u7f6e\u306e\u8981\u7d20\u3092\u5165\u308c\u66ff\u3048\u308b\u3088\u3046\u306a\u5185\u5bb9\u306b\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002<br \/>\n\u305d\u306e\u305f\u3081\u306b\u306f\u3001\u30ea\u30b9\u30c8\u304b\u3089\u6307\u5b9a\u3055\u308c\u305f\u4f4d\u7f6e\u306e\u8981\u7d20\u3092\u5f97\u308b\u65b9\u6cd5\u3092\u77e5\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u3069\u3053\u3092\u63a2\u3059\u3079\u304d\u304b\uff1f<br \/>\n\u30bd\u30fc\u30b9\u3092\u898b\u305f\u3060\u3051\u3067\u306flist\u306e\u30af\u30e9\u30b9\u306f\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3001list\u306b\u9001\u3089\u308c\u308b\u30e1\u30c3\u30bb\u30fc\u30b8setLineAt:to:\u304b\u3089\u63a8\u6e2c\u3059\u308b\u3002<br \/>\n\u30e1\u30bd\u30c3\u30c9\u30da\u30a4\u30f3\u306b\u30de\u30a6\u30b9\u3092\u79fb\u52d5\u3057\u3066\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306e\u4e0a\u306e\u300c-\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001implementors of &#8230;\u3092\u9078\u3076\u3002<br \/>\n\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u30e1\u30cb\u30e5\u30fc\u304b\u3089setLineAt:to:\u3092\u9078\u3076\u3068\u3001\u65b0\u3057\u304fImplementors of setLine:ofList:to:\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u73fe\u308c\u308b\u304c\u3001ScratchListMorph\u3068\u3044\u3046\u30af\u30e9\u30b9\u3067\u3057\u304b\u5b9f\u73fe\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3053\u308c\u304clist\u306b\u683c\u7d0d\u3055\u308c\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30af\u30e9\u30b9\u3060\u3068\u308f\u304b\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2256 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-22.06.10-1.png\" alt=\"Implementors of setLineAt:to:\" width=\"466\" height=\"247\" \/><br \/>\nImplementors of setLine:ofList:to:\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u4e0a\u6bb5\u306e\u300c-\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066browse full\u3092\u9078\u3076\u3068\u3001ScratchListMorph\u306eSystem Browser\u304c\u73fe\u308c\u3001\u305d\u306e\u30e1\u30bd\u30c3\u30c9\u30da\u30a4\u30f3\u306b\u306flineAt:\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u304c\u898b\u3048\u3001\u3053\u308c\u304c\u30ea\u30b9\u30c8\u304b\u3089\u6307\u5b9a\u3055\u308c\u305f\u4f4d\u7f6e\u306e\u8981\u7d20\u3092\u5f97\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3042\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2257 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-22.06.33-1.png\" alt=\"lineAt:\" width=\"614\" height=\"195\" \/><\/p>\n<h3>swapLine:ofList:for:\u306e\u8ffd\u52a0<\/h3>\n<p>\u4eca\u307e\u3067\u306e\u3053\u3068\u3092\u7dcf\u5408\u3059\u308c\u3070\u3001\u76ee\u7684\u306eswapLine:ofList:for:\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3067\u304d\u308b\u3002<\/p>\n<pre>swapLine: lineNum ofList: listName for: lineNum2\n  | list i1 i2 v1 v2 |\n  list _ self listNamed: listName ifNone: [^ ''].\n  i1 _ self lineNum: lineNum forList: list.\n  i2 _ self lineNum: lineNum2 forList: list.\n  v1 _ list lineAt: i1.\n  v2 _ list lineAt: i2.\n  list setLineAt: i1 to: v2.\n  ^ list setLineAt: i2 to: v1<\/pre>\n<p>list\u306b\u306f\u3001listName\u3067\u6307\u5b9a\u3055\u308c\u305f\u30ea\u30b9\u30c8\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u683c\u7d0d\u3057\u3001i1, i2\u306b\u306f\uff12\u30ab\u6240\u306e\u30ea\u30b9\u30c8\u4e2d\u306e\u4f4d\u7f6e\u3092\u683c\u7d0d\u3059\u308b\u3002\u305d\u3057\u3066\u3001\u305d\u308c\u305e\u308c\u306e\u4f4d\u7f6e\u306e\u8981\u7d20\u3092\u53d6\u308a\u51fa\u3057\u3066v1, v2\u306b\u683c\u7d0d\u3057\u305f\u5f8c\u3001\u30ea\u30b9\u30c8\u306e\uff12\u30ab\u6240\u306e\u4f4d\u7f6e\u306b\uff08v2\u3092i1\u3078\u3001v1\u3092i2\u3078\uff09\u8981\u7d20\u3092\u5165\u308c\u66ff\u3048\u3066\u683c\u7d0d\u3059\u308b\u3002<br \/>\n\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3092ScriptableScratchMorph\u306b\u767b\u9332\u3059\u308b\u306b\u306f\u3001ScriptableScratchMorph\u306esetLine:ofList:to:\u3092\u8868\u793a\u3057\u305fSystem Browser\u753b\u9762\u306b\u623b\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\nSystem Browser\u306e\u4e0b\u6bb5\uff08\u30b3\u30fc\u30c9\u30da\u30a4\u30f3\uff09\u3067\u3001setLine:ofList:to:\u306e\u30b3\u30fc\u30c9\u3092\u4e0a\u306eswapLine\u306e\u30b3\u30fc\u30c9\u3067\u5168\u3066\u7f6e\u304d\u63db\u3048\u308b\u3002\uff08\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3067OK\uff09<br \/>\n\u305d\u306e\u5f8c\u3001Command+S(ALT+S)\u3092\u62bc\u305b\u3070\u3001\u30a4\u30cb\u30b7\u30e3\u30eb\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u305f\u5f8c\u3001ScriptableScratchMorph\u306b\u767b\u9332\u3055\u308c\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2259 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-22.26.05-1.png\" alt=\"swapLine:ofList:for:\" width=\"765\" height=\"223\" \/><\/p>\n<h2>\u4f5c\u6210\u3057\u305f\u30d6\u30ed\u30c3\u30af\u3092\u8a66\u3057\u3066\u307f\u308b<\/h2>\n<p>\u9014\u4e2d\u3067\u958b\u3044\u305f\u8af8\u3005\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u9589\u3058\u3066\u3001Scratch\u306e\u753b\u9762\u3092\u8868\u793a\u3055\u305b\u308b\u3002<br \/>\nVariables\u306e\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u30ab\u30c6\u30b4\u30ea\u3092\u5207\u308a\u66ff\u3048\u3001Make a list\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u9069\u5f53\u306a\u540d\u524d\uff08\u4f8b\u3048\u3070a\uff09\u306e\u30ea\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2260 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-22.29.53-1.png\" alt=\"make a list\" width=\"533\" height=\"317\" \/><br \/>\n\u3059\u308b\u3068\u3001replace item\u306e\u4e0b\u306bswap item\u306e\u30d6\u30ed\u30c3\u30af\u304c\u4f5c\u3089\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2262 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-22.31.56-1.png\" alt=\"swap item\" width=\"251\" height=\"183\" \/><br \/>\n\u52d5\u4f5c\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u4e0b\u306e\u3088\u3046\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2263 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/sample-1.gif\" alt=\"sample\" width=\"226\" height=\"158\" \/><br \/>\n\u4e0a\u306e\u56fa\u307e\u308a\u306f\u30ea\u30b9\u30c8a\u306b10\u306820\u3092\u8ffd\u52a0\u3059\u308b\u3082\u306e\u3067\u3001\u4e0b\u306f\u4f5c\u6210\u3057\u305f1\u756a\u76ee\u30682\u756a\u76ee\u306e\u8981\u7d20\u3092\u5165\u308c\u66ff\u3048\u308b\u30d6\u30ed\u30c3\u30af\u3002\u4e0a\u306e\u56fa\u307e\u308a\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5b9f\u884c\u3059\u308b\u3068\u30ea\u30b9\u30c8\u306b\uff12\u3064\u306e\u8981\u7d20\u304c\u5165\u308a\u3001\u4e0b\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\uff12\u3064\u306e\u8981\u7d20\u304c\u5165\u308c\u66ff\u308f\u308b\u3002<\/p>\n<h2>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306e\u8a2d\u5b9a<\/h2>\n<p>\u5b9f\u306f\u3053\u306e\u72b6\u614b\u3060\u3068swap item\u306e\u30d6\u30ed\u30c3\u30af\u3060\u3051\u3001\u30ea\u30b9\u30c8\u306e\u540d\u524d\u304c\u521d\u671f\u5024\u3068\u3057\u3066\u30bb\u30c3\u30c8\u3055\u308c\u306a\u3044\u3002\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\u3001defaultArgsFor:\u30e1\u30bd\u30c3\u30c9\u306e\u5185\u5bb9\u3092\u66f8\u304d\u63db\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u304c\u3001\uff08\u3082\u3046\u7720\u3044\u306e\u3067\uff09\u3053\u3053\u3067\u306f\u305d\u306e\u65b9\u6cd5\u306f\u793a\u3055\u306a\u3044\u3067\u304a\u304f\u3002<br \/>\n\uff082014.4.11\u8ffd\u8a18\uff1a\u3053\u306e\u65b9\u6cd5\u306b\u95a2\u3059\u308b\u8a18\u4e8b\u306f<a title=\"Scratch 1.4\u3067\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb(\u7d9a\u304d)\" href=\"http:\/\/oohito.com\/nqthm\/archives\/2272\">\u3053\u3061\u3089<\/a>\uff09<br \/>\n\u4ee5\u4e0a\u3067\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306f\u7d42\u308f\u308a\u3002<\/p>\n<h2>\u4fdd\u5b58\u3057\u3066\u7d42\u4e86<\/h2>\n<p>\u4eca\u307e\u3067\u306e\u5909\u66f4\u3092\u4fdd\u5b58\u3059\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u73fe\u308c\u308bWorld\u30e1\u30cb\u30e5\u30fc\u304b\u3089save and quit\u3092\u9078\u3079\u3070\u3088\u3044\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2264 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-22.36.48-1.png\" alt=\"save and quit\" width=\"205\" height=\"298\" \/><br \/>\nScratch\u306e\u3088\u3046\u306b\u958b\u767a\u753b\u9762\u3092\u8868\u793a\u305b\u305a\u306b\u4f7f\u3044\u305f\u3044\u3068\u304d\u306f\u3001\u30b7\u30d5\u30c8\u30ad\u30fc\u3092\u62bc\u3057\u306a\u304c\u3089Scratch\u306eFile\u30e1\u30cb\u30e5\u30fc\u3092\u62bc\u3057\u3001Save Image in User Mode\u3092\u9078\u3079\u3070\u3088\u3044\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2265 size-full\" src=\"http:\/\/oohito.com\/nqthm\/wp-content\/uploads\/2014\/04\/Screen-Shot-2014-04-09-at-22.38.54-1.png\" alt=\"Save Image in User Mode\" width=\"512\" height=\"269\" \/><\/p>\n<h2>\u305d\u308c\u3067&#8230;<\/h2>\n<p>Scratch\u3067\u57fa\u672c\u7684\u306a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304c\u66f8\u304d\u3084\u3059\u304f\u306a\u3063\u305f\u306e\u304b\u3068\u3044\u3046\u3068\u3001\u3069\u3046\u3067\u3057\u3087\u3046\u306d\u3002\u3042\u307e\u308a\u5909\u308f\u3089\u306a\u3044\u3088\u3046\u306a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6388\u696d\u3067\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u6559\u3048\u308b\u306e\u306b\u666e\u901a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u4f7f\u308f\u306a\u3044\u65b9\u6cd5\u3092\u63a2\u3057\u3066\u3044\u3066\u3001Scratch\u3067\u3044\u3044\u3058\u3083\u3093\u3068\u601d\u3063\u305f\u3051\u3069\u3001Scratch\u3060\u3068\u7c21\u5358\u306a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u8a18\u8ff0\u3059\u308b\u306e\u306b\u591a\u304f\u306e\u30d6\u30ed\u30c3\u30af\u304c\u5fc5\u8981\u3060\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u304b\u3048\u3063\u3066\u9762&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,15,19],"tags":[],"class_list":["post-2243","post","type-post","status-publish","format-standard","hentry","category-scratch","category-squeak","category-tutorials"],"_links":{"self":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts\/2243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/comments?post=2243"}],"version-history":[{"count":1,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts\/2243\/revisions"}],"predecessor-version":[{"id":3604,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts\/2243\/revisions\/3604"}],"wp:attachment":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/media?parent=2243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/categories?post=2243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/tags?post=2243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}