TI LIST And RUN Protector
I would like to know if there is a way to put an access code on a program for the TI-99/4A. In my family I do all the work and everybody else does all the playing; but they cannot play if it has a code on it.
C. Regena replies:
At the beginning of your program you could try these lines:
100 A$="HELLO" 110 INPUT "ENTER CODE: ":C$ 120 IF C$=A$ THEN 200 130 PRINT "SORRY, CODE NOT ACCEPTED ." 140 STOP 200 PRINT "PROGRAM CONTINUES."
When you RUN your program, the computer first asks you to enter the code. If you type in the correct code name the program will continue; otherwise, the program will stop. We used HELLO for the code name. Note that anybody can just LIST the program and get your code name. Instead of HELLO between the quote marks type in your own code word, but hold down the CONTROL key (to the left of the space bar) while you are typing. Now if someone LISTs the program they can't read what your word is—it's either spaces or some funny-looking characters.