home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / hyperhlp.zip / SAMPLE.TXT < prev    next >
Text File  |  1989-01-09  |  3KB  |  71 lines

  1. #rem
  2. #rem  This is a very simple .txt file that illustrates the
  3. #rem  typical form of a hypertext file. You will need to compile
  4. #rem  this file, using the HyperHelper compiler before you'll
  5. #rem  be able to browse through this file. To compile this .txt
  6. #rem  file use:
  7. #rem
  8. #rem                       C:> hc sample
  9. #rem
  10. #rem  Note that the .txt extension of the filename is not used.
  11. #rem  The compiler will translate the .txt file into a special form
  12. #rem  that is only readable by the HyperHelper browser. This compiled
  13. #rem  file will be called sample.htx.
  14. #rem
  15. #rem  Once sample.txt is compiled, you can browse through the sample.htx
  16. #rem  file using the HyperHelper browser by typing:
  17. #rem
  18. #rem                       C:> hh sample
  19. #rem
  20. #rem  This sample hypertext deck only contains a portion of the commands
  21. #rem  that are available in HyperHelper. However, the commands used here
  22. #rem  are probably the ones you'll use most often. In particular, note
  23. #rem  the usage of:
  24. #rem
  25. #rem          #rem              -- a comment line.
  26. #rem          #deck title       -- declares the title of the deck.
  27. #rem          #size             -- defines the size of all cards;
  28. #rem                               in this case, 40 columns by 9 rows.
  29. #rem          #center text on   -- center all text in the cards that
  30. #rem                               follow within the window size specified
  31. #rem                               by the #size command.
  32. #rem          #card             -- marks the beginning of a card. Note
  33. #rem                               the first word after "#card" is the
  34. #rem                               internal card name and any words
  35. #rem                               after it are external card names which
  36. #rem                               can be used to access the card from
  37. #rem                               the command line (See card 2) or as
  38. #rem                               a context sensitive link in the
  39. #rem                               memory resident version of the
  40. #rem                               HyperHelper browser.
  41. #rem          #end              -- marks the end of a card (optional).
  42. #rem          #center line      -- centers the next line to the text
  43. #rem                               in the card.
  44. #rem          !                 -- special character which is used
  45. #rem                               to define the links between cards.
  46. #rem
  47. #rem  Now here are the cards in the sample.txt deck:
  48. #rem  ------------------------------------------------------------------
  49. #deck title Sample HyperHelper File
  50. #size 40 9
  51. #center text on
  52. #card 1
  53. This is the first card in the deck.
  54. It is linked to the !2!second! and
  55. !3!third! cards.
  56. #end ------------------------------------------------------------------
  57. #card 2 tryme
  58. This is the second card. It is linked
  59. to the !3!third! card.
  60.  
  61. Try accessing this card from the
  62. DOS prompt by typing:
  63.  
  64. #center line
  65. hh -ctryme sample
  66. #end ------------------------------------------------------------------
  67. #card 3
  68. This is the third card which is linked
  69. to card !1!one!.
  70. #end ------------------------------------------------------------------
  71.