' FOR INVESTIGATION AND POSSIBLE BUG REPORT 
'   line count needs #1, not 1
' ENHANCEMENTS
'   added line out of order and Remark checks
'   now ignores case when identified keywords (was just UC or LC)
'   splits line into statements and comments, then split the statements section into separate statements for processing
'   indents to length of longest line number [or label TODO]
'   ignores single quotes and REM that are witin double quotes when identifying remarks
'   Ignores keywords within remarks (eg, won't update GOTO label/linenum if it is in a Remark)
'   Ignores keywords within double quotes (eg won't update PRINT "GOTO 100" or try to process DATA "GOTO", "GOSUB")
' TODOs
'   in pass 1, look for labels, record their position in the array, and find the length on the longest.  Offer option on indent by line number or label.
'   get rid of ptr as a global variable
'   ask users if they want linenumbers to increment over lines without a linenumber
'   ask users if they want to add linenumbers to those lines that don't have them.
'   ask users if they want to strip out all linenumbers that aren't a target (eg GOTO target)
'   allow user to specify the line they want renumbering to start at
'   Remove default input file.  Figure out a reasonable default output file name
'   Investigate possible bug/s and report to Geoff
' QUESTIONS
'    are TRON / TROFF still needed?
'    could TRON / TROFF control debugger in external editor?