Protector 92+ v1.0 (Beta)
by C Prgm Software
http://cprgmsw.rietta.com
tistuff@cprgmsw.hypermart.net

See the DISCLAIMER and LISCENSE near the end of this file.

This is a program for TI-92+ (and 92/89) Basic programmers. It lets you protect
your basic programs from other people. You can protect a program (or function)
with a password, and it will give you an 'Internal Error' when you try to view
or edit it on the calulator. The TI-Graphlink program will not even show any
of your program's code! You can later unprotect it if you rember the pasword.

While this program should accept TI-92 and 89 files, it is not guaranteed to work
on them, so it is recommended that you test it. It should work on the TI-92, but I
havn't and don't feel like testing it on the 92 as much as I did on the 92+, so
there still may be errors when protecting TI-92 file. Also, on the 92, it will
not generate an 'Internal Error' when you try to edit it. The calculator will still
not show any of your code and will erase all of your code when it is edited on
a Ti-92. If anyone knows how to make it generate an 'Internal Error' on this calc,
please let me know how it is done.

If you want to protect a function, your functions must include the func and endfunc
lines. If it does not, the function will not operate at all on the calculator. It
will simple cause an error whenever someone attempts to run or edit the function.

The syntax to run the program is 'prot92p FileName [options]' (without the quotes).
FileName is the name of the file you want to protect. The file must be a TI-92, 92+,
or 89 program or function. The options let you specify the output file, the calculator
name for the variable output, the calculator folder that the output variable will be
in, and the passcode to use. You can also use the options to tell this program if it
should protect or unprotect. A table of the options, their syntax, and what they do
follows:

Option |  Syntax  | Description
@@@@@@@|@@@@@@@@@@|@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
   U   | /U       | Unprotect the variable
-------+----------+---------------
   P   | /P       | Protect the variable (Default)
-------+----------+---------------
   O   | /O name  | Specify the name of the file to output to
-------+----------+---------------
   V   | /V name  | Specify the calculator name of the output Varaible
-------+----------+---------------
   F   | /F name  | Specify the calculator Folder of the output varaible
-------+----------+---------------
   C   | /C code  | Specify the passCode to use

Note: If no output filename is given, the original file will be overwritten. If
      you do not specify a variable and folder name, the original are used. If no
      passCode is given when protecting, anyone can unprotect your program/function.

Some examples:

To protect test.9xp with the password Test (the /P is optional):
prot92p.exe test.9xp /C Test /P

To protect test.9xp with no password and output to testp.9xp:
prot92p.exe test.9xp /O testp.9xp

To unprotect testp.9xp and make the output variable name testu and folder testfold:
prot92p.exe test.9xp /U /V testu /F testfold

To unprotect test.9xp using the password Test:
prot92p.exe test.9xp /U /C Test

If you have an comments, questions, or suggestions, send them to tistuff@cprgmsw.hypermart.net


Any files that were included in any way with this file, including this file itself,
will herby be referred to as the software.

DISCLAIMER:
The software may do anything, or nothing at all. There are no guarantees, express or implied.
The author(s) of the software will not be responsibile for any damage, direct or indirect,
caused by your use, misuse, or inability to use the software. Use the software at your own
risk.

LISCENSE:
You have the right to use the software until your liscense to use it is void. Editing the
software in any way voids your liscense to use the software. You may distribute all the
software in the form that you recieved it in. You may not reverse engineer the software in
any way. Doing so voids your liscense to use the software.