Please don't laugh when you read this and think I am stupid, but what is a sqrt program?---It's a program that is executed whenever a certain flag is set AND _getkey is called. Dux Gregis and Stephen Hicks and them are the TI-OS gods, ask them about that. Dux has somegood templates on his web pageRegards,Matt