Changes

Jump to: navigation, search

Micropendium Volume 1 Number 1

1,805 bytes added, 15:58, 19 November 2024
Database 500
'''— JK'''
 
==User Notes==
 
Ever wonder how to get a sort routine to run faster? Or may you've had a problem getting your printer to print graphics. Maybe your console is acting up from overuse (we hope not underuse) or you'd just like to pick up a few pointers that will make you a better programmer.
 
Whether you're new to computers or have been programming for years, we think you'll find something of interest in this monthly column of TI user notes.
 
The information provided here is culled from newsletters published by TI99/4 user groups from across the country. But we don't want you to get the idea that non-user group members can't contribute ideas or tidbits that may help other computer users better utilize their equipment. If you've got an idea that may be of interest to readers, let us know. If you've discovered an undocumented feature of a piece of hardware or software and would like to share it, by all means send it in. Remember, we're all in this together.
 
===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"
110-CALL CLEAR
120-INPUT "ENTER SECURITY PASSWORD": PW$
130-IF P$ <> PW$ THEN 32000
140-PRINT "CORRECT PASSWORD"
32000-CALL CLEAR
32010-PRINT "SECURITY VIOLATED"
32020-PRINT "PROGRAM ABORTED"
32030-FO R I=1 TO 2000
32040-NEXT I''
 
In this example, which comes from a users group in Sidney, Australia, you would write your program between lines 140 and 32000. You may number it any way you wish and add all manner of bells and whistles to let the "violator" know he's been found out.

Navigation menu

MediaWiki spam blocked by CleanTalk.