最終更新:2008-01-04 (金) 19:22:56 (4598d)  

Quartz Composer/JavaScript
Top / Quartz Composer / JavaScript

入力と出力をJavaScriptでいじれる。

//入力
inputs[i]

//出力
outputs[i]

//structure
var cities = new Array();

cities[ 0 ] = "Tokyo";
cities[ 1 ] = "Osaka";
cities[ 2 ] = "Nagoya";

outputs[ 0 ] = cities;

//structure(辞書)
var city = new Array();

city[ "name" ] = "Tokyo";
city[ "population" ] = "100";

outputs[ 0 ] = city;