Here are some tips for the TS2068 that SMUG has accumulated through the years that we would like to pass on. The first ones are for the TS2068 and its possible the TS1000, TS1500 and ZX80-81.
When writing programs be careful when changing variables. If you have defined a variable and have run the job the variable will be there until you do a CLEAR. Our computer allows variables to hold their values even after the variable has been deleted. In most computers the variables are dropped if the program stops executing. This means if you change from a$ to aa$ a$ will still be there in our computer.
If you want to change the size of a dimension you can do a run. But if you want to clear the dimension with out clearing other variables just re-dimension the variable. For example DIM a$(5,10) sets up a dimension of 5 sets of 10 bytes each. After running you have data in the DIM. Just do a DIM a$(5,10) in the command mode. All data will be cleared. If you want to Reduce the size without runing the program do a DIM a$(0,0), clearing the dimension and removing the larger extents. Now re-dimension in command mode and you should have the new size available to you.
If you are using ON ERROR, once you have turned it on it stays on. If you want to remove it CLEAR the computer before deleting the line. Then delete the line using the DELETE command rather than just typing in the line #. If you type the line # the variable table will still contain the line # and the ON ERROR will still execute.
QL tip. When using the IF beware! The shortend version allows for statements on the same line as the if. But DO NOT use an END IF. If using the long version or an ELSE within the IF you must use the END IF. When using the END IF you CAN NOT have more than 1 statement on a line. This includes having anything on the same line as the then or else.