******************************************
BASIC TEXT VIEWER Ver 1.22 TI-83 Version
by Ricky Cobb
arcadesdude@intercom.net
IM - 41440378,arcadesdude [@hotmail.com]
http://tip.ti-programmers.com/
current size = 488 bytes + string file(s)
Released 2002 but made around '99
******************************************

 Intro: This is an adapted program that was orginally for the TI-86. Some documentation
        might be a bit old, but still useful.


	This is a simple text viewing program that is written in basic and can scroll a string. There are a couple uses for this program. For example you can make a string and use it as a todo list or a homework pad. You could also type something up on the calc and send it to the computer ad then open it in graphlink and copy and paste it into a txt file. Once there it can be edited printed or whatever then copied and pasted back into the string and resent tothe calc. Or it can be for storing formulas for math. (I use it for all such). Also I included "plugin capability". In other words if your making a program that has long instuctions to display and you can turn off the editor and call the program so the user cant mess with your instuctions. I optimized the code for speed and size but if there is a better way to do this I would like to know. If there is a bug (which I thoughly doubt because I test all of my programs extensively) let me know about it so I can fix it.

*HOW TO*:

	To START this program send BTXTVIEW and STR1 to your calculator then

	To EDIT a new string just choose edit at the main menu and type what you want. Note: enter will 'save' the string to Str1 (the default string) it will not  move down a line like the basic program editor.
	To SAVE a string when the string is viewable just exit the program then type : 
			[vars] [7] [1] [sto ->] [vars] [7] [string # to save it to] [enter]

	To EDIT AN EXITSTING STRING goto the edit menu and push 2nd then RCL (same button as STO->, above ON). Then press [vars] [7] [then the string # to edit].  The string is now editable. You can insert stuff with 2nd then del then the text, or goto the top by hitting 2nd then left (or bottom with 2nd then right). when done with the changes, hit enter. You can now scroll the string (if it is more than 8 lines long) even faster than in view here (for larger docs).
You might want to save it after editing it.
   It uses Page scrolling instead of line scrolling now in version 1.21.
	APD added in version 1.2. APD stands for Auto Power Down.
I added this feature after leaving my calc in battery sucking mode
(in 'view') for a half hour and drained my batteries. What APD does is after about a minute it goes into low power mode (pauses). Then APD is now handeled and it will turn off in about 4 mins after it pauses.
To continue after it pauses just press enter. Or if it is off press on then enter. Thats all. Hope this save your batteries...
***********************************************************************
Programmers only!
***********************************************************************
plugin capability!!!!!!! use this program to show some txt (instructions or whatever) in your program. If you dont want to use this your done reading this, Otherwise...
	To USE PLUGIN capability, first put the txt you want in your program with this command:
				"HI STUFF HERE"->Str1
must be Str1 then if you want you can turn off the editor so noone can mess with the instructions by typeing this command:
				[1->L6
that means 1 into the vector called L6 at the first element
that will turn off the editor, now all you have to do is call the program by typing:
				BTXTVIEW
in that program with the editor off it will skip the beginng stuff and not allow the user to use the editor (by pushing 2nd)
all you can do is scroll up and down and exit by pushing exit

when the program returns just DelVar(L6 to turn the editor back on
heres an example

PROGRAM:EXAMPLE
:"HI TRY THIS  HHEHE  BGFKGKS"->Str1  ;string to be scrolled in btxtview
:[1->L6
:BTXTVIEW
:DelVar(L6
:ClLCD
:Disp "SEE EASY! YOU CAN","HAVE MORE STUFF","HERE"
:Pause
:ClLCD
:Outpt(1,1,""


********************************************************************

ps if you can optimize this (main program) without deleting the txt messages
   GO AHEAD AND TRY!!! MWAHAHA!!!! If you do find a way, please tell me.

Thats it! whew that was a lot of typing...

