<pre>function standardDeviation  put the paramCount into operands  if operands is 0 then return "Not enough params"  if operands is 1 then return 0  put 0 into var  repeat with x = 1 to operands    add param(x) to var  end repeat  put var / operands into average  put 0 into devs  repeat with x = 1 to operands    add the abs of ( param(x) - average ) to devs  end repeat  return devs / operandsend standardDeviation</pre>