I have a doubt:
my program works by step:
1) the user insert some numbers
2) the program puts the numbers into some lines of a field
3) the program calculates the average
?) i want to calculate the standard deviation; the syntax is "standardDeviation (a,b,c)" but how i can insert "a,b,c"?
I don't know how operate with the lines of a field
My code doesn't work

Code: Select all
put the number of lines of field "numero" into tLines
repeat with i = 1 to tLines
put standardDeviation (line i of fld "numero") into devStandard
end repeat