<pre>function sum  put the paramCount into operands  if operands is 0 then return "Nothing to sum"  if operands is 1 then return "Nothing to sum"  put 0 into theSum  repeat with x = 1 to operands    add param(x) to theSum  end repeat  return theSumend sum</pre>