If you change the program to a function instead, and pass the values as parameters, you should not get this error.
Define Sample(a, b)=
Func
Return a+b
Endfunc
This is one of the reasons I did not want TI to do requests and input - it introduces so many more complications and problems.
A note to everyone out there, remember to always check you data types when getting input from the users because you might expect a number and they enter a string. Or you're asking for a denominator and they enter 0. A good program should never end with a system error.
--Eric