Changes

Jump to: navigation, search

Micropendium Volume 1 Number 1

21 bytes added, 15:59, 19 November 2024
Password?
So you've got some top-secret programs that are for your eyes only. Your problem is how to keep the secret without getting a reputation for being unsociable. Here is a brief routine that can be written into a program that will ask a user for the password before running the program. You choose your own password.
''100-P$= "PASSWORD"<br>110-CALL CLEAR<br>120-INPUT "ENTER SECURITY PASSWORD": PW$<br>130-IF P$ <> PW$ THEN 32000<br>  
140-PRINT "CORRECT PASSWORD"
 
32000-CALL CLEAR
 
32010-PRINT "SECURITY VIOLATED"
 
32020-PRINT "PROGRAM ABORTED"
32030-FO R I=1 TO 2000

Navigation menu

MediaWiki spam blocked by CleanTalk.