TS2068 Tips

Publication

Date

Pages

The enclosed hardcopy of my dilemma is rather self explanatory, however just to clarify.

Line 10: I want “capacitance” to flash but only until the input is printed. Then it is to remain on the screen in a non-flashing situation.

 10 PRINT FLASH 1; "CAPACITANCE"
20 INPUT C: PRINT C
30 PRINT: PRINT FLASH O

What ever you can do to help would certainly be appreciated.

Sincerely,
Dave Trevor,
Phoenix, AZ

Dear Dave:

Once an item is printed to the screen in the flashing mode there is no way to just turn it off. As you know FLASH 1 turns on the FLASH mechanism. Every character typed after FLASH 1 will be printed to the screen flashing. FLASH 0 turns off the FLASH mechanism. This simply allows you to return to the non-flashing mode. All characters after the FLASH O will be printed to the screen normally.

There is no simple way to turn off a flashing character after they have been printed to the screen. The PRINT AT statement is a very powerful statement with many uses. Try this to the above program lines:

 10 PRINT FLASH 1; AT 1,0; "CAPACITANCE"
20 INPUT C: PRINT C
30 PRINT AT 1,0; "CAPACITANCE"

As you can see that LINE 30 goes back and rewrites “CAPACITANCE” in a non-FLASHING mode.