[code]ggbApplet.evalCommandCAS("f(x):=x^4-1");[br]var sol=ggbApplet.evalCommandCAS("CSolutions[f]");[br]alert("The solution of the equation x^4-1=0 is "+sol+".");[br]alert("The type of sol is "+typeof sol+".");[br]var ary=sol.substring(1, sol.length-1).split(', ');[br]alert(ary);[br]alert("The type of ary is "+typeof ary+".");[br]for (var i in ary) {[br] alert("ary[" + i + "]=" + ary[i]);[br]}[br][br][/code]