home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / UTILITY / WISPLNG3.ZIP / -MAIN.WSP < prev    next >
Encoding:
Text File  |  1990-11-25  |  7.7 KB  |  227 lines

  1. -----This line is reserved and typing on it will do you no good, whatsoever.----
  2. { THIS IS A WISP DEMONSTRATION PROGRAM, NOT A CATALOG OF SHAREWARE OFFERINGS! }
  3. 1
  4. ::THE BEGINNING
  5.    CLS/0
  6.    BOX/1/1/25/80/1/31/C
  7.    PRINT/1/36/ AN UNREAL CATALOG OF SHAREWARE PROGRAMS /112
  8.    BLOCKPRINT/1/112/25/1
  9. [     Catalog developed with the WISP language system, a shareware product     ]
  10.    BLOCKPRINT/20/31/3/36                        {one command prints entire block
  11.       ■    Welcome to the XYZ disc catalog!   ■
  12.       -----------------------------------------
  13.       Shopping for shareware has never been
  14.       easier.  With this catalog you will be
  15.       able to browse XYZ's offerings faster
  16.       than before.
  17.       -
  18.       Simply highlight a selection or catagory
  19.       and press <ENTER>.  If you prefer, press
  20.       the letter corresponding to the choice
  21.       you want.
  22.       -
  23.       Choices with a ■ are working examples.
  24.       -
  25.       -
  26.       -
  27.       -         XYZ SHAREWARE CORP.              { leading - provides indenting
  28.                 OneTwoThree Main St.             { ASCII 255 could be used for
  29.       -         Anytown, CA. 12345               { invisibility
  30.       -         (555) 555-1234
  31.    Paint/15/36/15/73/26
  32.    BOX/18/44/23/66/1/27
  33.    PRINT/24/2/<F1> Blank screen   <F2> Printer FF   <F3> Edit [WISPED only]/27
  34. ::MAIN MENU
  35.    MENU/       MAIN MENU       /18/1/6/112/79/78/1/S
  36.         A  ■COLLECTIONS-BOOKS =
  37.         B  ■ACCOUNTING-BUS    =
  38.         C  ■ACCOUNTING-HOME   =
  39.         D  ■BUSINESS PROGRAMS =
  40.         E  ■CHURCH-RELIGION   =
  41.         F  ■COMMUNICATIONS    =
  42.         G  DATABASE PROGRAMS  =
  43.         H  DESKTOP PUBLISHING =
  44.         I  EDUCATION          =
  45.         J  ENGINEERING        =
  46.         K  GAMES              =
  47.         L  GRAPHICS           =
  48.         M  INVESTMENT         =
  49.         N  LOTUS RELATED      =
  50.         O  MAILING LIST       =
  51.         P  ■MISCELLANEOUS-HOME=
  52.         Q  Exit to DOS        =
  53.         R  ≡ Secondary Menu   =
  54. 2
  55.    GOTO/COLLECTIONS-BOOKS
  56. 3
  57.    GOTO/ACCOUNTING-BUSINESS
  58. 4
  59.    GOTO/ACCOUNTING-HOME
  60. { It is obvious that this example catalog is going to be a big one and would
  61. { probably not fit into one program.  The DSPF command can display text pages
  62. { written with an external word processor.  This demo provides many examples
  63. { of this.
  64. 5
  65.    goto/BUSINESS
  66. 6
  67.    goto/CHURCH
  68. 7
  69.    GOTO/COMMUNICATIONS
  70. 8
  71. 9
  72. 10
  73. 11
  74. 12
  75. 13
  76. 14
  77. 15
  78. 16
  79. GOTO/MAIN MENU
  80. 17
  81. GOTO/MISC-HOME
  82. 18
  83.    CLS/7
  84.    LEAVE
  85. 19
  86. {-----------------------------------------------------------------SECONDARY MENU
  87.    MENU/    SECONDARY MENU     /13/4/24/112/95/94/20/S
  88.         A  PRINTERS-ANY       =
  89.         B  PRINTERS-SPECIFIC  =
  90.         C  ■PROGRAMMING       =
  91.         D  SPREADSHEET        =
  92.         E  STATICS and MATH   =
  93.         F  UTILITY DRIVE-FILE =
  94.         G  ■UTILITY OTHER     =
  95.         H  WINDOWS 3 & OS-2   =
  96.         I  WORD PROCESSING    =
  97.         J  WORD PROC. UTIL.   =
  98.         K  ORDERING INFO      =
  99.         L  MISCELLANEOUS      =
  100.         M  ≡ Main Menu        =
  101. 21
  102. 22
  103. goto/19
  104. 23
  105. goto/PROGRAMMING
  106. 24
  107. 25
  108. 26
  109. GOTO/19
  110. 27
  111. goto/UTILITIES-OTHER
  112. 28
  113. 29
  114. 30
  115. 31
  116. 32
  117. GOTO/19
  118. 33
  119. GOTO/THE BEGINNING
  120. {-------------------------------------------------------------------------------
  121. ::COLLECTIONS-BOOKS
  122.     CLS/0
  123.     BOX/1/1/25/80/1/31/C
  124.     PRINT/1/28/ Collections and Books /27
  125.     BLOCKPRINT/9/31/3/3              {-- displaying text from within the program
  126.        #1234     5  discs  Every DOS utility in our library.
  127.        #1235     3  discs  Every MENUING program in our library.
  128.        #1236     4  discs  Every BASIC programming aid in our library.
  129.        #1237     9  discs  Every WORD PROCESSOR in our library.
  130.        #2222   400  discs  Every DISC in our library.
  131.        ---------------------------------------------------------------
  132.        # 1B         book   Mastering DOS
  133.        # 2B         book   The ABCs of 123
  134.        # 3B         book   Beyond BASIC
  135.     PRINT/24/34/Press any key/30
  136.     WAIT
  137. GOTO/THE BEGINNING
  138. {------------------------------------------------------------------------------}
  139. 49
  140. ::ACCOUNTING-BUSINESS
  141.    BOX/1/1/25/80/1/78/C
  142.    BLOCKPRINT/15/79/3/3               {--Displaying text from within the program
  143.       #1234-2   The XYZ Accounting System.    The best accounting package for
  144.       .         small and medium sized business that we have ever seen.  Has
  145.       .         receivables, payables, invoicing, general ledger, inventory,
  146.       .         payroll and much more.  Very easy to use.
  147.       .         DOS 3.x, hard drive, 640K
  148.       .
  149.       #1247-8   The ABC Accounting System.  For larger sized businesses, this
  150.       .         could be the preferred package.
  151.       .         DOS 3.x, hard drive, 2Meg
  152.       .
  153.       #1253-2   ZORTZ Payroll System.  Handles salaried, hourly, commissioned
  154.       .         and salaried plus commissions.  Computes and prints all tax
  155.       .         forms, making required deductions.  Many report formats are
  156.       .         available.  File are security encrypted.
  157.       .         DOS 3.x, hard drive, 640K
  158.    PRINT/24/33/ANY KEY FOR MORE/79
  159.    WAIT
  160.    BOX/1/1/25/80/1/78/C
  161.    DSPF/A-B2.WSP/2/2/79              {--Displaying text from an external file.
  162.    PRINT/24/34/<PgUp>  <Home>/78     {--The prompt could be in the file, too.
  163. 51
  164.    WAIT
  165.    IFKEYHIT/-73/49
  166.    IFKEYHIT/-71/1
  167. GOTO/51
  168. {------------------------------------------------------------------------------}
  169. ::ACCOUNTING-HOME
  170.    BOX/1/1/25/80/1/78/C
  171.    DSPF/ACTHOME.WSP/2/2/79          {--Displaying text from an external file
  172.    WAIT/23/34/78/Press any key
  173. GOTO/THE BEGINNING
  174. {------------------------------------------------------------------------------}
  175. ::BUSINESS
  176.    BOX/1/1/25/80/1/78/C
  177.    DSPF/BUS.WSP/2/2/79              {--Displaying text from an external file.
  178.    WAIT/23/34/78/Press any key
  179. GOTO/THE BEGINNING
  180. {------------------------------------------------------------------------------}
  181. ::CHURCH
  182.    BOX/1/1/25/80/1/78/C
  183.    DSPF/C-R.WSP/2/2/79              {--Displaying text from an external file.
  184.    WAIT/23/34/78/Press any key
  185. GOTO/THE BEGINNING
  186. {------------------------------------------------------------------------------}
  187. ::COMMUNICATIONS
  188.    BOX/1/1/25/80/1/78/C
  189.    DSPF/COMM.WSP/2/2/79             {--Displaying text from an external file.
  190.    WAIT/24/34/78/Press any key
  191. GOTO/THE BEGINNING
  192. {------------------------------------------------------------------------------}
  193. ::PROGRAMMING
  194.    BOX/1/1/25/80/1/78/C
  195.    DSPF/PROG.WSP/2/2/79             {--Displaying text from an external file.
  196.    WAIT/24/34/78/Press any key
  197. GOTO/19
  198. {------------------------------------------------------------------------------}
  199. ::MISC-HOME
  200.    BOX/1/1/25/80/1/78/C
  201.    DSPF/MISCHOME.WSP/2/2/79         {--Displaying text from an external file
  202.    WAIT/24/34/78/Press any key
  203. GOTO/THE BEGINNING
  204. {-------------------------------------SAMPLE---2 pages, external files---------}
  205. 60
  206. ::UTILITIES-OTHER
  207.    BOX/1/1/25/80/1/78/C
  208.    PRINT/1/21/You wanted UTILITIES?  You got UTILITIES/78
  209.    DSPF/UTIL-O1.WSP/3/2/79          {--Displaying text from an external file
  210.    WAIT/24/34/78/Press any key
  211.    BOX/1/1/25/80/1/78/C
  212.    DSPF/UTIL-O2.WSP/3/2/79          {--Displaying text from an external file
  213.    PRINT/24/34/<PgUp>  <Home>/78
  214. 61
  215.    WAIT
  216.    IFKEYHIT/-73/60
  217.    IFKEYHIT/-71/1
  218. goto/61
  219. GOTO/THE BEGINNING
  220. {------------------------------------------------------------------------------}
  221. { Note that catalog programs which load a file for each page will be relatively
  222. { simple to write since, aside from the menu section, each routine is almost
  223. { a duplicate of the others.  A good catalog shouldn't take more than a few
  224. { days to complete and several people can work on different file pages at the
  225. { same time.
  226. 
  227.