… // Create a script code (calculates the value of summation from 1 to 100). // スクリプトコードを用意(1から100までの和を求める) String scriptCode = " int sum = 0; " + " int n = LOOP_MAX; " + " for (int i=1; i<=n; i++) { " + " sum += i; " + " } " + " output(sum); " ; // Run the script code by the script engine of Vnano. // Vnanoのスクリプトエンジンにスクリプトコードを渡して実行 try{ engine.executeScript(scriptCode); …