home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 #32 / q32side2.d64 / t.annotator < prev    next >
Text File  |  2022-08-30  |  6KB  |  113 lines

  1.  
  2.  
  3.                          T H E   A N N O T A T O R
  4.  
  5.                      Program and Text by Knees Calhoon
  6.  
  7.  
  8.     An "annotation" is nothing more than an explanation, and we sure need
  9. that, don't we?  Usually, an annotated work consists of a wide book with
  10. the text of an article or piece of literature in the middle of the page. In
  11. the wide borders are explanations of words, phrases or sentences with an
  12. arrow pointing to the explained word or phrase.  In the computer world,
  13. it's called "hypertext" and it's only available on the behemoth computers.
  14. Until now...
  15.  
  16.     I first became acquainted with annotation when I read Martin Gardner's
  17. "Annotated Alice In Wonderland".  It's probably the most famous annotation
  18. of a piece of literature, but many other great works have been annotated,
  19. including the Sherlock Holmes stories.  LOADSTARites may even remember that
  20. Fender Tucker annotated my two "M-M-Murder" mysadventures on LS 128 #20 and
  21. #24.  As far as I know, these are the only adventure games to be annotated;
  22. most other adventure games have hint sheets instead.
  23.  
  24.     Many works of literature require explanation and annotation is a much
  25. more readable way to do it than by simply writing another book that
  26. explains the first.  It's best to have an explanation of a paragraph right
  27. next to the paragraph.
  28.  
  29.     Because of the screen size I've decided to have two windows, one above
  30. the other, rather than side by side as in normal annotations.  The top
  31. window is where the original text can be scrolled through.  There is a
  32. colored bar that highlights a line of text.  Down below is another window
  33. that has an explanation of the highlighted line, if there is anything to
  34. say about the line.
  35.  
  36.     This program assumes that you have some text in a file that you wish to
  37. annotate.  Using your word processor you get the text in a standard format
  38. -- PETASCII PRG file in 75 columns -- and give it a filename with an "a."
  39. prefix.  If you haven't learned how to use your word processor enough to
  40. format text in this Commodore industry standard way, you need to learn.  If
  41. you don't have a word processor, then you might as well boot up a game --
  42. you've got a game machine, not a computer.
  43.  
  44.     LOADSTAR recommends Busy Bee's THE WRITE STUFF 128 (which we sell for
  45. $40 as the ILLUSTRATOR IIa package) which I used to create a couple of text
  46. files which you can study as samples.  Any decent word processor will work
  47. as well.  If it can't produce a 75-column (or less) PRG PETASCII file, then
  48. it's not a decent word processor.
  49.  
  50.     The annotation of the text file is done within THE ANNOTATOR.  You
  51. simply scroll through the top window until you find a line you wish to
  52. explain, press RETURN and then enter whatever you want to say in the lower
  53. annotation window.  Save the annotation when you're through and that's it.
  54.  
  55.  
  56.  THE DETAILS
  57.  -----------
  58.  
  59.     All of the above is an overview of what you will use THE ANNOTATOR for.
  60. The C-128 is not a large enough computer to annotate a full-sized novel,
  61. unless you do it chapter by chapter.  Because of the way I handle text (in
  62. normal BASIC string arrays) the largest text file that can be annotated is
  63. probably around 30 blocks, or 150 lines.  For each line of text, there can
  64. be up to six lines of annotation, but I have a feeling that "out of memory"
  65. problems would result if you had six full lines of explanation for every
  66. line of a 30-block text file.  As a rule of thumb, annotate to your heart's
  67. content, but if the program gets sluggish or you get an error, you've
  68. annotated too much.  Break the file down into smaller pieces.
  69.  
  70.     There are only four options on the Main Menu.
  71.  
  72.   READ will display a file requestor and allow you to scroll through a
  73. loaded text file.  Any annotation of the text file will be displayed in the
  74. lower window.  You cannot change either the top or bottom text in the READ
  75. mode.
  76.  
  77.   ANNOTATE is exactly like READ except for the fact that you can press
  78. RETURN on any line in the top text and a cursor will appear in the bottom
  79. window.  The box is a free-form entry window.  You may use HOME, CLR, the
  80. CRSR keys, INSerT, DELete or even the ESC sequences.  You can enter upper
  81. or lower case and you can format the text as you wish, thanks to Bob
  82. Markland's nifty ML routine that scans the box and turns the insides into
  83. six subscripted strings.
  84.  
  85.     HELP is simply a little instructions screen and QUIT does its usual
  86. thing.
  87.  
  88.     Notice that if you hold the CRSR keys down when scrolling through the
  89. top window, it will scroll fast and any annotation won't show.  If you want
  90. to read the annotation, then don't hold the CRSR keys down.  Just tap them
  91. and if a line has an annotation, it will appear in the bottom window.  You
  92. can use CRSR RIGHT and LEFT to page through the text faster.
  93.  
  94.     That's it for THE ANNOTATOR.  The two samples on the disk are songs
  95. that I wrote years ago.  Fender, the gentle side of my personality who
  96. burned out on music years ago but likes computers, agreed to write the
  97. annotations for the songs.  Songs, poems, short short stories, articles and
  98. such are probably the most suitable things to annotate with THE ANNOTATOR.
  99. Maybe you've received a letter from a relative that you would like to
  100. dissect and explain for other relatives?  This is how I anticipate this
  101. program being used.
  102.  
  103.     Remember: To use THE ANNOTATOR you must have some PETASCII text that is
  104. formatted for 75 or fewer columns in a PRG file with an "a." prefix.  THE
  105. ANNOTATOR (and your brain) will do the rest.
  106.  
  107.     If there is any interest in this program I can imagine adding a print
  108. routine that will attempt to provide a normal annotation on paper.  Let me
  109. know.
  110.  
  111.                    \\\\\ R - Run   RETURN - Menu \\\\\
  112.                                                                            
  113.