There is a variable "n0" in the "numbers" tabs for "Variables".
It was define as n0=5. It is a number to declare array size.
The applet will fail for number with more than 5 digits.
Change it to a larger number should fix the above problem.
PS. O also modified some variables in the view to fix the alignment problem.
Feed back from teachers are always highly welcomed. Please ask them to post it or you can post it for them,