If you have any loop that requires an "end" to close it, you will get a memory error if you leave that loop. :If blah blah:Then :statements :blah :blah :Goto A :End This will cause a memory error. You must end before Goto-ing anywhere. -- Richard Piotter richfile@prairie.lakes.com The Richfiles TI Hardware and BASIC web page: http://www.geocities.com/SiliconValley/Lakes/5081/Richfiles.html