sorry @chao93 , can you explain me about f_insertcomma and successrefitem?
you say should be set .@str$, insertchar(.@str$,",",.@i);
but its same with script before it
function script F_InsertComma {
set .@str$, getarg(0);
for (set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3)
set .@str$, insertchar(.@str$,",",.@i);
return .@str$;
}
i just dont know whats wrong with
set .@str$, insertchar(.@str$,",",.@i);
or
for (set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3)