home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / baslin.zip / MANUAL.TXT < prev    next >
Text File  |  1987-11-04  |  16KB  |  833 lines

  1.  
  2.  
  3.  
  4.        Amaryllis
  5.  
  6.         Software
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.   BASIC Line Numbers
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.     Version 1.0
  38.     For IBM Personal Computers and compatibles with
  39.     64K and DOS 2.0 or later.  Deletes line numbers
  40.     from or adds line numbers to BASIC programs
  41.     saved in ASCII format.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.   BASIC Line Numbers
  59.  
  60.  
  61.      User's Guide
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.     Version 1.0
  80.     Amaryllis Software
  81.     Program and documentation written by Carol Poster.
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.        This software and manual are copyright
  94.        Amaryllis Software. Portions are copy-
  95.        right Microsoft Corp. Copying of both is
  96.        restricted as described later in this
  97.        manual.
  98.  
  99.        This program was  developed using Micro-
  100.        soft's QuickBASIC.  This manual was com-
  101.        posed and printed on a Star Micronics
  102.        SR-10 printer using the Hammerlabs'
  103.        Lettrix Banker, Prestige,  and OCR-A
  104.        fonts.
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.       Portions c Microsoft Corp.
  118.       c Amaryllis Software 1987
  119.  
  120.  
  121.  
  122.  
  123.  
  124.         CONTENTS
  125.  
  126.  
  127.  
  128.  
  129.     Introduction ..................................  1
  130.     Backing Up Your Disk ..........................  2
  131.     Creating Shareware Disks ......................  3
  132.     Getting Started ...............................  4
  133.     BASIC Line Numbers Initial Menu ...............  5
  134.     Disk Drive Selection ..........................  5
  135.     Select Filename ...............................  7
  136.     Line Numbering Menu ...........................  8
  137.     Source Code ................................... 11
  138.     Technical Support ............................. 12
  139.     Other Amaryllis Software Products ............. 13
  140.  
  141.  
  142.  
  143.  
  144.          FIGURES
  145.  
  146.  
  147.  
  148.     Figure 1: Title Display .......................  4
  149.     Figure 2: BASIC Line Numbers Initial Menu .....  6
  150.     Figure 3: Disk Drive Selection ................  6
  151.     Figure 4: Line Numbering Menu .................  9
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.            INTRODUCTION
  159.  
  160.     Amaryllis Software's BASIC Line Numbers pro-
  161.     vides the following capabilities:
  162.  
  163.         Delete Line Numbers:  Removes unrefer-
  164.       enced line numbers from BASIC programs.
  165.         Add Line Numbers:  Numbers lines in a
  166.       BASIC file,  by leaving any existing line
  167.       numbers unchanged, and adding new numbers to
  168.       unnumbered lines in a manner compatible with
  169.       existing line numbers.
  170.  
  171.     You can use BASIC Line Numbers for many devel-
  172.     opment tasks, including:
  173.  
  174.         Enter code with your favourite ASCII text
  175.       editor, then add line numbers before running
  176.       the program with a BASIC interpreter.
  177.         Switch easily between interpreters  which re-
  178.       quire line numbers and compilers which do
  179.       not require line numbers.
  180.         Add line numbers to a file written in com-
  181.       piler BASIC for debugging purposes.
  182.         Delete line numbers, use a text editor to
  183.       move sections of code (something very dif-
  184.       ficult within most BASIC editors),  then add
  185.       line numbers to produce usable interpreted
  186.       BASIC code.
  187.  
  188.     The ability to produce unnumbered lines so that
  189.     you can edit BASIC code  with an ASCII text editor
  190.     is extremely useful for converting a "quick and
  191.     dirty" program into a production program by re-
  192.     structuring and/or reorganizing the code into
  193.     modules.
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.                - 1 -
  201.  
  202.  
  203.  
  204.  
  205.  
  206.        BACKING UP YOUR DISK
  207.  
  208.     Before you try to use this software you should
  209.     make two copies of your original disk.  You should
  210.     use one of the copies as a working disk; reserve
  211.     the other copy for archival purposes. You will
  212.     only need to use the original if both copies
  213.     fail during a backup.
  214.  
  215.     Floppy Disk Based Systems
  216.     Put your DOS disk in drive a: and turn on your
  217.     computer. If you have a single floppy drive sys-
  218.     tem, type:
  219.  
  220.           DISKCOPY A: A:    [ENTER]
  221.  
  222.     and follow the displayed instructions. For a
  223.     dual floppy system, type:
  224.  
  225.           DISKCOPY A: B:    [ENTER]
  226.  
  227.     and then follow the displayed instructions.
  228.  
  229.     Hard Disk Based Systems
  230.     Turn on your computer system. If you want this
  231.     program in your root directory, place your orig-
  232.     inal disk in floppy drive a: and type:
  233.  
  234.           COPY A:*.* C:    [ENTER]
  235.  
  236.     To place BASIC Line Numbers in a subdirect-
  237.     ory, create the subdirectory with the MKDIR com-
  238.     mand if it does not already exist, then copy the
  239.     original disk to the desired subdirectory. For ex-
  240.     ample, if you want to place BASIC Line Numbers
  241.     in a subdirectory called "BASIC", you should type:
  242.  
  243.           MKDIR \BASIC     [ENTER]
  244.           COPY A:*.* C:\BASIC     [ENTER]
  245.  
  246.  
  247.  
  248.                - 2 -
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.      CREATING SHAREWARE DISKS
  256.  
  257.     Amaryllis Software's BASIC Line Numbers is a
  258.     type of program known as "shareware". We believe
  259.     that it is difficult or impossible to tell if a
  260.     program really will be useful for your purposes
  261.     unless you can try it for a few weeks. Therefore
  262.     we allow you to make copies of our software for
  263.     your friends and co-workers. We do not authorize
  264.     you to sell our programs -- only to share them.
  265.  
  266.     The batch file, "SHARE.BAT", on your disks, cre-
  267.     ates a "shareable" BASIC Line Numbers disk.
  268.     The only differences between the shareable version
  269.     and the registered one are that we give registered
  270.     users a complete printed manual, GWBASIC source
  271.     code, and technical support. We hope that this
  272.     will give owners of the shareware version of our
  273.     software an incentive to register, and also reward
  274.     those users who have paid for their software.
  275.  
  276.     To create a shareable BASIC Line Numbers disk,
  277.     first make sure that a complete copy of your soft-
  278.     ware (either version) is located on the current
  279.     directory of your default disk drive. Type:
  280.  
  281.      SHARE      [ENTER]
  282.  
  283.     and follow displayed directions.
  284.  
  285.     The new disk should contain the following files:
  286.  
  287.      FILES.TXT
  288.      MANUAL.TXT
  289.      PRINTMAN.BAT
  290.      SHARE.BAT
  291.      BASLIN.EXE
  292.  
  293.  
  294.  
  295.                - 3 -
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.          GETTING STARTED
  303.  
  304.     Once you have backed up your disk (see page 2),
  305.     starting BASIC Line Numbers is very easy. If
  306.     your copy of BASIC Line Numbers is in the cur-
  307.     rent directory of the default drive just type:
  308.  
  309.      BASLIN    [ENTER]
  310.  
  311.     If BASIC Line Numbers is located elsewhere,
  312.     invoke it using the complete filename, including
  313.     drive and pathname,  as described in your DOS
  314.     manual.
  315.  
  316.     After you invoke BASIC Line Numbers,  you will
  317.     see the title display (Figure 1) on the screen.
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.    *********************************
  328.    * OMITTED FROM SHAREWARE MANUAL *
  329.    *********************************
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.     FIGURE 1: Title Display
  343.  
  344.  
  345.                - 4 -
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.      BASIC LINE NUMBERS INITIAL MENU
  353.  
  354.     Press [enter] as prompted by the title display.
  355.     BASIC Line Numbers will display its initial
  356.     menu (Figure 2). From this menu, you can either
  357.     exit to DOS  or start the file selection process.
  358.  
  359.  
  360.       DISK DRIVE SELECTION
  361.  
  362.     The disk drive selection menu (Figure 3) allows
  363.     you to select drives a:, b:, c:, or d: or display
  364.     a directory of your default or selected drive. If
  365.     you don't remember which disk or drive contains
  366.     your file, look at a directory before making a
  367.     selection.
  368.  
  369.     If you have configured part of your memory as a
  370.     RAM disk, copy your BASIC file to your RAM disk
  371.     before running BASIC Line Numbers. Since this
  372.     is a disk-intensive program, placing your BASIC
  373.     file on a RAM disk will increase performance
  374.     dramatically.
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.                - 5 -
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.    *********************************
  405.    * OMITTED FROM SHAREWARE MANUAL *
  406.    *********************************
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.     FIGURE 2: BASIC Line Numbers Initial Menu
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.    *********************************
  434.    * OMITTED FROM SHAREWARE MANUAL *
  435.    *********************************
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.     FIGURE 3: Disk Drive Selection
  446.  
  447.  
  448.  
  449.                - 6 -
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.          SELECT FILE NAME
  457.  
  458.     The file name selection menu enables you to either
  459.     select a filename  or look at the directory of the
  460.     selected drive.  If you choose the filename sel-
  461.     ection  option, you will be prompted for the file-
  462.     name. Enter the complete filename including ex-
  463.     tension. BASIC Line Numbers will verify that
  464.     the file is present on the selected drive.    If the
  465.     file is not found, you will be prompted to enter a
  466.     new filename or select a different drive.
  467.  
  468.     If you cannot find your BASIC file on the selected
  469.     drive, you can press [CTRL]-[BREAK] to exit the
  470.     program.
  471.  
  472.     Remember that BASIC Line Numbers works ONLY on
  473.     ASCII files; it will not work on tokenized files
  474.     produced by the regular SAVE function of the BASIC
  475.     interpreter. To save a file from the interpreter
  476.     in ASCII format, you should type:
  477.  
  478.      SAVE "file.bas",A     [ENTER]
  479.  
  480.  
  481.     Special Filename
  482.     BASIC Line Numbers uses a file named $TEMP for
  483.     a temporary workspace. If you have a file named
  484.     $TEMP in the same directory as your BASIC file, it
  485.     will be destroyed.
  486.  
  487.     If BASIC Line Numbers terminates abnormally,
  488.     (you press [CTRL]-[BREAK] or reboot your system)
  489.     $TEMP may not be deleted. If you find $TEMP on
  490.     your disk, delete it.
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.                - 7 -
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.        LINE NUMBERING MENU
  507.  
  508.     The Line Numbering Menu (Figure 4)    enables you to
  509.     add or delete line numbers or return to the ini-
  510.     tial menu.
  511.  
  512.  
  513.     Add Line Numbers
  514.     Option 1, "Add line numbers to program.", adds
  515.     line numbers to all unnumbered lines in the speci-
  516.     fied file. If some line numbers are already pre-
  517.     sent in the file, it leaves them unchanged, and
  518.     preserves their sequence. For example, if a seg-
  519.     ment of code read:
  520.  
  521.      100 PRINT "A=";A
  522.          A=A+1
  523.      200 PRINT "A=";A
  524.          GOTO 300
  525.  
  526.     BASIC Line Numbers would number it as follows:
  527.  
  528.      100 PRINT "A=";A
  529.      101 A=A+1
  530.      200 PRINT "A=";A
  531.      201 GOTO 300
  532.  
  533.     BASIC Line Numbers uses the file $TEMP for
  534.     temporary workspace while adding line numbers to
  535.     your file.
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.                - 8 -
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.    *********************************
  575.    * OMITTED FROM SHAREWARE MANUAL *
  576.    *********************************
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.     FIGURE 4: Line Numbering Menu
  596.  
  597.  
  598.  
  599.  
  600.                - 9 -
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.     Remove Line Numbers
  608.     Option 2, "Remove line numbers from program.", re-
  609.     moves all unreferenced line numbers from the file.
  610.     Referenced line numbers are not changed. For ex-
  611.     ample, if a section of code read:
  612.  
  613.      100 ' START LOOP
  614.      110 A=A+1
  615.      120 IF A<100 THEN GOTO 110
  616.      130 PRINT "A=";A
  617.  
  618.     BASIC Line Numbers would number it as follows:
  619.  
  620.          ' START LOOP
  621.      110 A=A+1
  622.          IF A<100 THEN GOTO 110
  623.          PRINT "A=";A
  624.  
  625.     BASIC Line Numbers uses the file $TEMP for
  626.     temporary workspace while removing line numbers
  627.     from your file.
  628.  
  629.     Garbage In Garbage Out
  630.     If the specified file is not a valid BASIC file,
  631.     you may get errors. The most common errors are:
  632.  
  633.         Tokenized File:   You saved your file
  634.       from a BASIC interpreter in a tokenized
  635.       form. Go back to the interpreter and save
  636.       the file in an ASCII format.
  637.         Non-ASCII File:  You edited your file
  638.       with a non-ASCII word processor. Try ex-
  639.       porting your file to ASCII.
  640.         Not BASIC:  BASIC Line Numbers is
  641.       designed to work with BASIC files.  Although
  642.       it may be modified to work with other files,
  643.       results may be unpredictable.
  644.  
  645.  
  646.  
  647.                - 10 -
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.            SOURCE CODE
  655.  
  656.     Commented GWBASIC source code, saved in ASCII for-
  657.     mat is provided to REGISTERED USERS ONLY.
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.    *********************************
  666.    * OMITTED FROM SHAREWARE MANUAL *
  667.    *********************************
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.                - 11 -
  695.  
  696.  
  697.  
  698.  
  699.  
  700.         TECHNICAL SUPPORT
  701.  
  702.     Technical support is available to REGISTERED USERS
  703.     ONLY. If you have any question or problems, please
  704.     write us at:
  705.  
  706.    *********************************
  707.    * OMITTED FROM SHAREWARE MANUAL *
  708.    *********************************
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.                - 12 -
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.      OTHER AMARYLLIS SOFTWARE PRODUCTS
  739.  
  740.     Other products offered by Amaryllis Software are
  741.  
  742.      Aerobic Points:   Have you ever wondered
  743.        how much exercise you need? Do you want
  744.        to track how much exercise you are getting?
  745.        This program will keep track of all your
  746.        aerobic activities for you, and let you ev-
  747.        aluate whether you are meeting your exer-
  748.        cise requirements.
  749.  
  750.      Computer Media Database:  Information
  751.        about several hundred computer and tech-
  752.        nology related periodicals in PC-File
  753.        and mail-merge formats.
  754.  
  755.      PC-F Pack:   Improves the performance of
  756.        applications using Buttonware's PC-File
  757.        III or PC-File/R databases.
  758.  
  759.      Star Printer Setup: This menu-driven
  760.        program allows you to access many of the
  761.        capabilities of your Star Micronics printer
  762.        without the need to use complex escape code
  763.        sequences.
  764.  
  765.      WizBreaker:  Enables players of Sir-
  766.        Tech's Wizardry to modify or restore
  767.        characters.
  768.  
  769.     All Amaryllis Software products run on MS DOS com-
  770.     puters with 64K RAM and one disk drive, DOS ver-
  771.     sions 2.0 and later. We market all our products as
  772.     shareware.
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.                - 13 -
  781.  
  782.  
  783. -------------------------------------------------------------------------------
  784.                   REGISTRATION FORM
  785. -------------------------------------------------------------------------------
  786. PRODUCT                 QTY    PRICE EACH     PRICE EXTENDED
  787. BASIC Line Numbers (1 copy)         1     $9.99         $_____________
  788. BASIC Line Numbers (2-4 copies)        ___     $9.00         $_____________
  789. BASIC Line Numbers (5-10 copies)       ___     $8.00         $_____________
  790. BASIC Line Numbers (over 10 copies)    ___     $7.00         $_____________
  791. PC-F Pack                   ___     $9.99         $_____________
  792. Star Printer Setup               ___     $9.99         $_____________
  793. WizBreaker                   ___     $9.99         $_____________
  794. Aerobic Points                   ___    $25.00         $_____________
  795. Computer Media Database            ___    $25.00         $_____________
  796. -------------------------------------------------------------------------------
  797.                                SUBTOTAL  $_____________
  798. Utah residents add 6.25% sales tax                TAX  $_____________
  799.                       SHIPPING AND HANDLING  $       3.00
  800.                               TOTAL  $_____________
  801. _______________________________________________________________________________
  802.  
  803. Please make checks payable to Amaryllis Software or provide appropriate credit
  804. card number.  COD orders are not accepted.  NOTE: allow 2-3 weeks for personal
  805. checks to clear.  We cannot fill your order until your check has cleared.
  806.  
  807. MasterCard _____  or  Visa _____             Expiration Date __________
  808.  
  809. Card Number ___________________________________________________________________
  810.  
  811. Signature _____________________________________________________________________
  812.  
  813. Name __________________________________________________________________________
  814.  
  815. Address _______________________________________________________________________
  816.  
  817.     _______________________________________________________________________
  818.  
  819. City _________________________________    State ________    Zip ___________________
  820. _______________________________________________________________________________
  821.  
  822. Please send registration form to:
  823.  
  824.                   Amaryllis Software
  825.                   525 Parkview Drive
  826.                   Park City UT 84060
  827.  
  828. _______________________________________________________________________________
  829.  
  830.  
  831.  
  832.                - 14 -
  833.