// test for string split
var b = "1,4,7";
var a = b.split(",");

result = a.length==3 && a[0]==1 && a[1]==4 && a[2]==7;

@@ -62,59 +62,171 @@
 );%0A%0A
-result = a.length==3 && a%5B0%5D==1 && a%5B1%5D==4 && a%5B2%5D==7
+assert (a.length == 3, %22a.length = %22 + a.length);%0Aassert (a%5B0%5D==1, %22a%5B0%5D=%22 + a%5B0%5D); %0Aassert (a%5B1%5D==4, %22a%5B1%5D=%22 + a%5B1%5D); %0Aassert (a%5B2%5D==7, %22a%5B2%5D=%22 + a%5B2%5D);%0A%0Aresult = 1
 ;%0A

Test rewritten to get more precise error location.