This has been corrected in the next print.
What exactly is the first and what is the second function? Which one is actually faster?
The complete, correct script is
function spaces theAmount
put " " into mySpace
put mySpace after myManySpaces
return char 1 to theAmount of myManySpaces