function

命令 Instruction Type
Format
function 関数名(引数) function function name (arguments)
{ (
処理 Processing
} )
Commentary
関数を定義します。 Define the function. 引数は,(カンマ)で区切って列記することができます。 Arguments, (comma) can be separated list.
サンプルコード Sample code
function calc(a,b) function calc (a, b)
{ (
return a * b; return a * b;
} )
outputs[0] = calc(2,4); outputs [0] = calc (2,4);