home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / DOOR / 1STDEAL.ZIP / DEALER.DOC < prev    next >
Text File  |  1994-09-01  |  56KB  |  1,619 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.       ┌──────────────────────────────────────────────────────────────────┐
  7.       │                                                                  │
  8.       │                                                                  │
  9.       │      ┌────────────────────────────────────────────────────┐      │
  10.       │      │                                                    │      │
  11.       │      │                                                    │      │
  12.       │      │                                                    │      │
  13.       │      │                                                    │      │
  14.       │      │                                                    │      │
  15.       │      │                                                    │      │
  16.       │      │                                                    │      │
  17.       │      │                                                    │      │
  18.       │      │                                                    │      │
  19.       │      │                                                    │      │
  20.       │      │                                                    │      │
  21.       │      │                                                    │      │
  22.       │      │                                                    │      │
  23.       │      │                                                    │      │
  24.       │      │                                                    │      │
  25.       │      │                                                    │      │
  26.       │      │                                                    │      │
  27.       │      │            The Sparkware DEALER System             │      │
  28.       │      │                                                    │      │
  29.       │      │                                                    │      │
  30.       │      │                                                    │      │
  31.       │      │                                                    │      │
  32.       │      │                                                    │      │
  33.       │      │                                                    │      │
  34.       │      │                    Entire work                     │      │
  35.       │      │            Copyright 1994 by Mark Herring          │      │
  36.       │      │                All Rights Reserved                 │      │
  37.       │      │                                                    │      │
  38.       │      │                                                    │      │
  39.       │      │                                                    │      │
  40.       │      │                                                    │      │
  41.       │      │                                                    │      │
  42.       │      │                                                    │      │
  43.       │      │                                                    │      │
  44.       │      │                                                    │      │
  45.       │      │                                                    │      │
  46.       │      │                                                    │      │
  47.       │      │                                                    │      │
  48.       │      │                                                    │      │
  49.       │      │                                                    │      │
  50.       │      │                                                    │      │
  51.       │      │                     Sparkware                      │      │
  52.       │      │                Post Office Box 386                 │      │
  53.       │      │           Hendersonville, Tennessee   37077        │      │
  54.       │      │                                                    │      │
  55.       │      │                                                    │      │
  56.       │      │                                                    │      │
  57.       │      └────────────────────────────────────────────────────┘      │
  58.       │                                                                  │
  59.       │                                                                  │
  60.       └──────────────────────────────────────────────────────────────────┘
  61.  
  62.  
  63.  
  64.  
  65.  
  66.          Table of Contents
  67.  
  68.  
  69.          License...............................................  i
  70.          A Piece of the Action?................................  1
  71.          Sounds good to me!  What's next?......................  2
  72.          Installing DEALER.....................................  3
  73.          Using SETUP...........................................  4
  74.            Transfer protocols..................................  5
  75.            Reconcile coupons...................................  5
  76.            List of coupons.....................................  6
  77.            Commission analysis.................................  6
  78.            DOS command line switches...........................  7
  79.            Notes...............................................  7
  80.          Script commands.......................................  8
  81.            ADD.................................................  8
  82.            APRINT..............................................  8
  83.            ASK.................................................  9
  84.            ASSIGN..............................................  9
  85.            ATTRIBUTE...........................................  9
  86.            BEEP................................................ 10
  87.            BOX................................................. 10
  88.            CALL................................................ 10
  89.            CHDIR............................................... 10
  90.            CLOCK_PAUSE......................................... 11
  91.            CLOCK_RESUME........................................ 11
  92.            CLOSE............................................... 11
  93.            CLS................................................. 11
  94.            COLOR............................................... 11
  95.            COMPARE............................................. 12
  96.            COPY................................................ 12
  97.            COUPON.............................................. 12
  98.            DCHECK.............................................. 12
  99.            EOF................................................. 12
  100.            EXIST............................................... 13
  101.            EXIT................................................ 13
  102.            FILLSCRN............................................ 13
  103.            GETKEY.............................................. 13
  104.            GOSUB............................................... 14
  105.            GOTO................................................ 14
  106.            GREATER............................................. 14
  107.            HANGUP.............................................. 14
  108.            INSTR............................................... 14
  109.            KEYHIT.............................................. 15
  110.            KILL................................................ 15
  111.            LASTKEY............................................. 15
  112.            LESS................................................ 15
  113.            LOCATE.............................................. 15
  114.            MKDIR............................................... 16
  115.            MONO................................................ 16
  116.            MREAD............................................... 16
  117.            NAME................................................ 16
  118.            NULL................................................ 16
  119.            ON <choice> GOTO.................................... 17
  120.  
  121.  
  122.  
  123.  
  124.  
  125.            OPEN................................................ 17
  126.            PAUSE............................................... 17
  127.            PLAY................................................ 17
  128.            PRINT............................................... 18
  129.            QPRINT.............................................. 18
  130.            QUIT................................................ 19
  131.            READ................................................ 19
  132.            RETURN.............................................. 19
  133.            RUN................................................. 19
  134.            SEEK................................................ 20
  135.            SET_FILE............................................ 20
  136.            SET_PROT............................................ 20
  137.            SHELL............................................... 20
  138.            SHOW_FILE........................................... 21
  139.            WRITE............................................... 21
  140.          @Variables supported.................................. 22
  141.          Questions and answers................................. 23
  142.  
  143.  
  144.  
  145.  
  146.  
  147.          License
  148.  
  149.          Before you may use The Sparkware Dealer System you must obtain
  150.          a dealer ID from Sparkware by calling our customer support
  151.          bulletin board system at (615) 230-8822 and using the "DEALER"
  152.          command to register your dealer system.  You may also register
  153.          with us via the Internet (see Questions and Answers).  There is
  154.          no charge to register; and you are free to use the software as
  155.          designed for the purposes for which it is provided, with
  156.          Sparkware products only, unless notified in writing by Sparkware.
  157.  
  158.          By your possession and/or use of this software, you acknowledge
  159.          this software incorporates valuable trade secrets of Sparkware
  160.          and you agree to all the terms and conditions of this license.
  161.  
  162.          SPARKWARE GRANTS NO WARRANTIES, EXPRESSED OR IMPLIED, BY
  163.          STATUTE OR OTHERWISE, REGARDING THE DISK, PROGRAMS AND RELATED
  164.          MATERIALS, THEIR FITNESS FOR ANY PURPOSE, THEIR QUALITY,
  165.          THEIR MERCHANTABILITY, OR OTHERWISE.
  166.  
  167.          THE LIABILITY OF SPARKWARE UNDER THE WARRANTY SET FORTH ABOVE
  168.          SHALL BE LIMITED TO THE AMOUNT PAID BY THE CUSTOMER FOR THE
  169.          PRODUCT.  IN NO EVENT SHALL SPARKWARE BE LIABLE FOR ANY SPECIAL,
  170.          CONSEQUENTIAL, OR OTHER DAMAGES FOR BREACH OF WARRANTY.
  171.  
  172.          SPARKWARE RESERVES THE RIGHT TO MAKE ANY CHANGES TO THESE
  173.          PROGRAMS, DOCUMENTATION, AND CUSTOMER SUPPORT PLANS AT ANY
  174.          TIME WITHOUT PRIOR NOTICE.
  175.  
  176.          THIS SOFTWARE PROGRAM IS A PROPRIETARY PRODUCT OF SPARKWARE
  177.          AND IS PROTECTED BY COPYRIGHTS AND INTERNATIONAL TREATIES.
  178.          YOU MAY DISTRIBUTE THIS SOFTWARE TO OTHERS AS LONG AS IT
  179.          IS DISTRIBUTED UNMODIFIED.  YOU MAY NOT DECOMPILE,
  180.          DISASSEMBLE, REVERSE ENGINEER, OR OTHERWISE MODIFY THIS
  181.          SOFTWARE OR ANY FILES IT CREATES.
  182.  
  183.          SPARKWARE GRANTS YOU THE RIGHT TO USE THIS SOFTWARE AFTER YOU
  184.          REGISTER (FREE OF CHARGE) WITH US AS OUTLINED IN THIS MANUAL.
  185.          SPARKWARE RESERVES THE RIGHT TO TERMINATE YOUR RIGHT TO USE
  186.          THIS SOFTWARE AT ANY TIME.
  187.  
  188.          IF ANY PROVISION IN THIS LICENSE IS FOUND UNENFORCEABLE, THE
  189.          REMAINING PROVISIONS SHALL REMAIN IN FULL FORCE AND EFFECT.
  190.  
  191.          The Sparkware Dealer System
  192.          Entire work copyright 1994 by Mark Herring
  193.          All Rights Reserved
  194.  
  195.          Sparkware
  196.          Post Office Box 386
  197.          Hendersonville, Tennessee   37077-0386
  198.  
  199.          (615) 230-8822    24 hour support bulletin board system
  200.          (615) 230-MAIL    Office  (10-12, 1-5 central weekdays)
  201.  
  202.  
  203.  
  204.  
  205.  
  206.          A Piece of the Action?
  207.          ----------------------
  208.  
  209.          Just what does this mean to you, a sysop?  Well, look at the
  210.          large number of shareware and demoware packages that you
  211.          offer to your users via your bulletin board system.  Whenever
  212.          one of your users registers one of these packages with the
  213.          author, you don't get a dime for your efforts.  You continue
  214.          to run you BBS and pay for the expenses out of your own
  215.          pocket.
  216.  
  217.          This changes now!  This new dealer system from Sparkware
  218.          introduces you to a new way to market and profit from
  219.          Sparkware products.  Now you can benefit each time a user on
  220.          your BBS registers a copy of our 1stReader offline mail
  221.          reader system with us.
  222.  
  223.          How does this work?  Simple.  This dealer package includes a
  224.          door program that you can install into your own bulletin
  225.          board system.  Your callers can use this door to find out
  226.          what offline mail reading is all about and how 1stReader can
  227.          help them get the most out of their offline dollar.  The door
  228.          program also lets the callers download a demo copy of our
  229.          1stReader offline mail system without having to navigate
  230.          through your own bulletin board's command structure to find
  231.          the file.
  232.  
  233.          And the door program also allows your callers to download an
  234.          "electronic coupon".  This electronic coupon can be redeemed
  235.          by your callers good for $3.00 off our $25.00 registration
  236.          price.  When your callers register 1stReader with us the
  237.          coupon is automatically bundled directly with their order by
  238.          1stReader and transmitted to us via our tollfree order line.
  239.          When the order system receives the ORDER.ZIP file from your
  240.          user the coupon is included and we will let the user register
  241.          1stReader for only $22 instead of $25.
  242.  
  243.          PLEASE NOTE:  1stReader 1.12 (or higher) is required by the
  244.                        caller in order to use this dealer system.
  245.                        Previous releases of 1stReader will not be able
  246.                        to work with this dealer system
  247.  
  248.          But here is where YOU fit into the picture.  The coupon that
  249.          your callers download from our door program is also stamped
  250.          with your "Dealer ID" (more about this later) and a unique
  251.          serial number.  Each time one of your callers redeem this
  252.          unique electronic coupon with us via our tollfree order system,
  253.          you get $5.00 from Sparkware!  At the beginning of each month
  254.          you will receive a check from us for the orders processed through
  255.          your BBS and our tollfree order system in the previous month.
  256.  
  257.  
  258.  
  259.                                        1
  260.  
  261.  
  262.  
  263.  
  264.  
  265.          We also provide a sysop utility that keeps track of the how
  266.          many coupons your system has issued by caller name.  You can
  267.          also call our customer support BBS at any time and receive an
  268.          ORDERS.NEW file that tells you which coupons were redeemed by
  269.          us.  You can then import this file into the sysop utility and
  270.          quickly find out how many coupons have been redeemed through
  271.          your system.  You can even import the information into a
  272.          spreadsheet for further analysis.
  273.  
  274.  
  275.  
  276.          Sounds good to me!  What's next?
  277.          --------------------------------
  278.  
  279.          This sysop dealer program is only available to bulletin board
  280.          systems located in The United States and Canada where access
  281.          to our tollfree system is available.  It is not available to
  282.          sysops located in other countries.  Sorry if this means you.
  283.  
  284.          We will cover system installation below.  But first, before
  285.          you can install our door program you must obtain a "Dealer
  286.          ID" from Sparkware.  Any coupons received by an unauthorized
  287.          system will still be honored for the $3.00 off the
  288.          registration price for the caller, but we do NOT reserve the
  289.          $5.00 commission from the sale for you unless you are
  290.          currently registered with Sparkware and in good standing. Do
  291.          not issue yourself a dealer ID and then call us later with
  292.          the number.  Only Sparkware can issue dealer ID numbers and
  293.          besides, you may be using a dealer ID that is already issued
  294.          and you will just be putting money into some sysop's pockets.
  295.  
  296.          CALL US TO OBTAIN A DEALER ID BEFORE INSTALLING THIS SYSTEM!
  297.  
  298.          Now, how do you obtain a dealer ID number?  Call our customer
  299.          support bulletin board system at (615) 230-8822.  When you
  300.          arrive at the "Main Board Command?" prompt type "DEALER" and
  301.          press ENTER.  Then follow the instructions on your screen.
  302.          No other system or site may issue dealer ID numbers.
  303.  
  304.          The DEALER command will also generate the ORDERS.NEW file
  305.          described earlier, so call back from time to time and keep
  306.          current on who is registering Sparkware products through your
  307.          bulletin board system with us.
  308.  
  309.          You may also send us a dealer ID request via the Internet.
  310.          See "Questions and Answers" at the end of this manual for more
  311.          information.
  312.  
  313.          PLEASE NOTE!  The Sparkware DEALER system issues uniquely
  314.                        serialized electronic coupons.  Once a serial
  315.                        number has been redeemed by a customer, Sparkware
  316.          will no longer honor the dealer commission for that serial number
  317.          if it is redeemed by another caller.  Once used, a coupon is
  318.          'retired' from use.
  319.  
  320.  
  321.  
  322.  
  323.  
  324.          Installing DEALER
  325.          -----------------
  326.  
  327.          The DEALER system you now have is easy to install.  Simply
  328.          unzip the archive into a separate subdirectory.  If you
  329.          received The DEALER system on diskette then just copy the
  330.          disk's contents to the subdirectory.  The DEALER system works
  331.          with any bulletin board system that can generate a DOOR.SYS
  332.          "drop file".  Systems that handle their own internal
  333.          multitasking such as TBBS and MajorBBS probably will not work
  334.          with DEALER.  If you own such a BBS product we leave it to
  335.          your devices when it comes to installing DEALER.
  336.  
  337.          The "DEALER.BAT" file will run the DEALER door for you.  You
  338.          need to edit this batch file with a text editor and modify
  339.          the first line of the batch file.  Currently, this line reads
  340.          as:
  341.  
  342.                             \DEALER\DEALER.EXE
  343.  
  344.          If you did not install DEALER into the \DEALER subdirectory
  345.          then you need to modify this line so that it will point to
  346.          the subdirectory you created.  You will also need to add a
  347.          command at the bottom of the batch file to reload your
  348.          bulletin board software.
  349.  
  350.          All that is left to do is to install DEALER into your
  351.          bulletin board system using utilities provided by the authors
  352.          of your system.  And you should run the SETUP.EXE program
  353.          provided with DEALER to check the system's configuration
  354.          (such as your bulletin board's name, your name, etc).
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.                                        3
  378.  
  379.  
  380.  
  381.  
  382.  
  383.          Using SETUP
  384.          -----------
  385.  
  386.          The SETUP program is designed to help you manager your DEALER
  387.          system.  The main menu is separated into five different
  388.          sections.  Press the [ESC] key to exit to DOS from the main
  389.          menu.
  390.  
  391.  
  392.                  Door information
  393.                  ----------------
  394.  
  395.                  This section lets you enter the name of your bulletin
  396.                  board system, your name (as the sysop), as well as
  397.                  the Dealer ID code you received from Sparkware.
  398.                  Also, you can enter the name of the "BBS drop
  399.                  filespec" used by your BBS.  DEALER can support the
  400.                  following drop files (use these names ONLY, no
  401.                  pathspecs please):
  402.  
  403.                          DOORINFO      - used by QuickBBS, Remote
  404.                                          Access, SuperBBS and RBBS.
  405.  
  406.                          DOOR.SYS      - Telegard, Force!, PcBoard and
  407.                                          Gap, among others.
  408.  
  409.                          INFO.BBS      - Phoenix BBS
  410.  
  411.                          CALLINFO.BBS  - Wildcat!, Genesis and Force!
  412.  
  413.                          SFDOOR.DAT    - Spitfire
  414.  
  415.                          CHAIN.TXT     - WWIV
  416.  
  417.                          PCBOARD.SYS   - PCBoard
  418.  
  419.                          DOBBS.BAT     - FrontDoor
  420.  
  421.  
  422.                  Script filespec is the name of the startup script to
  423.                  use (usually, this is MASTER.SCR).  And finally, if
  424.                  you are using a FOSSIL driver with your bulletin
  425.                  board system then you can set this switch so DEALER
  426.                  will communicate through the fossil driver.
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.                                        4
  437.  
  438.  
  439.  
  440.  
  441.  
  442.                  Transfer protocols
  443.                  ------------------
  444.  
  445.                  This section lets you enter the file transfer
  446.                  protocol definitions used by the DEALER system.  We
  447.                  have already predefined the Xmodem, Ymodem, Ymodem/G
  448.                  and Zmodem definitions using the QSZ protocol engine
  449.                  from Sparkware, but you may change any of the command
  450.                  definitions you wish.  Just use the arrow keys and
  451.                  press ENTER (or press the letters A-Z) to make your
  452.                  selection.
  453.  
  454.                  You may be interested in a few "@variables" supported
  455.                  by the DEALER system.  These variables are:
  456.  
  457.                          @PORT@        - The serial port number
  458.                          @RATE@        - Connect baud rate
  459.                          @FILE@        - Name of the file to transfer.
  460.                                          (The SET_FILE command will
  461.                                           let you set this variable.
  462.                                           See the section on script
  463.                                           commands for more
  464.                                           information).
  465.  
  466.  
  467.                  Reconcile coupons
  468.                  -----------------
  469.  
  470.                  After you have been setup as a Sparkware dealer you
  471.                  may call our customer support system from time to
  472.                  time to download a file named ORDERS.NEW from our own
  473.                  DEALER system.
  474.  
  475.                  This file contains all of the coupons processed by
  476.                  our tollfree order system that originated from your
  477.                  BBS.  You may then import the information contained
  478.                  in ORDERS.NEW into your own coupon logs kept by the
  479.                  DEALER system so you may find out how many coupons
  480.                  have been redeemed.
  481.  
  482.                  To get your copy of your ORDERS.NEW file call our
  483.                  customer support system at (615) 230-8822 and use
  484.                  the DEALER command to access our dealer system.
  485.                  Then use the "4" command from the menu to generate
  486.                  and download your copy of ORDERS.NEW.
  487.  
  488.                  Simply tell SETUP where the ORDERS.NEW file is
  489.                  located and it will import the information into your
  490.                  own coupon log file.
  491.  
  492.  
  493.  
  494.  
  495.                                        5
  496.  
  497.  
  498.  
  499.  
  500.  
  501.                  List of coupons
  502.                  ---------------
  503.  
  504.                  This section will let you see a list of callers to
  505.                  your system who received electronic coupons from the
  506.                  DEALER system.  You may use the arrow keys on your
  507.                  keypad to move around the list of entries.  Press the
  508.                  [ESC] key to quit.
  509.  
  510.                  After you quit viewing your entries you will be asked
  511.                  if you wish to print a report on your printer.  If
  512.                  you do decide to print a report on your printer then
  513.                  SETUP will also create a text file named REPORT.ASC
  514.                  that contains coupon information that you may import
  515.                  into a spreadsheet program for further analysis.  The
  516.                  format of REPORT.ASC is (one entry per line):
  517.  
  518.                  S/N,User name,DL date,Redemption date,Product,$Comm
  519.  
  520.  
  521.                  Commission analysis
  522.                  -------------------
  523.  
  524.                  This section provides a quick analysis of the
  525.                  commissions you have earned in the DEALER program
  526.                  from Sparkware.
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.                                        6
  555.  
  556.  
  557.  
  558.  
  559.  
  560.                  DOS command line switches
  561.                  -------------------------
  562.  
  563.                  SETUP allows you to use DOS command line switches so
  564.                  you can use some of the features in a "batch" mode.
  565.                  These switches are supported:
  566.  
  567.                          SETUP /KEY:<value>
  568.  
  569.                          <value> corresponds to a letter selection in
  570.                          the menu.  If "/KEY:C" is used then SETUP
  571.                          will attempt to find the COUPONS.NEW file and
  572.                          if found will import them into your log of
  573.                          coupons kept by DEALER.  "/KEY:D" will print
  574.                          a list of coupons on your printer as well as
  575.                          generate the REPORT.ASC file for spreadsheet
  576.                          use.
  577.  
  578.                          SETUP /PRT:<filename>
  579.  
  580.                          This command line switch lets you redirect
  581.                          printer output from the "PRN" default to any
  582.                          other device or file you wish.  You can use
  583.                          the command:
  584.  
  585.                          SETUP /KEY:D /PRT:BLT1
  586.  
  587.                          to make SETUP produce a bulletin of issued
  588.                          coupons for your own use.
  589.  
  590.  
  591.          Notes
  592.          -----
  593.  
  594.                  The coupon logs and information are stored in the
  595.                  files COUPONS.CNT and COUPONS.DAT.  Under no
  596.                  circumstances should you delete these files.  If you
  597.                  do delete then and simply allow them to be recreated
  598.                  by the DEALER system then your electronic
  599.                  coupons would begin with serial #1.  And these
  600.                  coupons may have already been redeemed and are no
  601.                  longer valid (see "Please Note!" on page #2).
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.                                        7
  614.  
  615.  
  616.  
  617.  
  618.  
  619.          Script commands
  620.          ---------------
  621.  
  622.          The following script commands are supported by the DEALER
  623.          system.  This manual is only a reference guide for the
  624.          commands and their functions.  A tutorial is beyond the scope
  625.          of this manual.
  626.  
  627.  
  628.           Command: ADD
  629.            Syntax: ADD(Variable$,value)
  630.           Example: ADD(Count$,5)
  631.  
  632.               Variable$ is any previously assigned variable.  "value"
  633.               can either be a literal value or another variable.
  634.  
  635.  
  636.           Command: APRINT
  637.            Syntax: APRINT(Variable$,Row,Col,Color[,MonoColor])
  638.           Example: APRINT("This is a test",12,33,-1)
  639.  
  640.               APRINT writes a text string to the ROW and COLumn
  641.               positions on your screen.  Variable$ can either be an
  642.               assigned variable or text.  COLOR is the color to
  643.               display Variable$ on the screen.  Setting color to '-1'
  644.               tells APRINT to use the current color found at ROW,COL.
  645.  
  646.               Passing APRINT a COLumn value of '-1' tells APRINT to
  647.               center Variable$ on your screen.
  648.  
  649.               You can also pass a fifth parameter to APRINT.  The
  650.               fifth parameter is the color to use if displaying the
  651.               text on a monochrome system.  If you do not include
  652.               the fifth parameter APRINT always uses the COLOR
  653.               attribute.
  654.  
  655.               You can also call APRINT once with a full list of
  656.               parameters and then call APRINT passing only the text to
  657.               print.  Example:
  658.  
  659.                    APRINT ("This is a test",12,20,-1)
  660.                    APRINT ("--------------")
  661.  
  662.               When you omit the extra parameters APRINT will increment
  663.               the last ROW value by one and use the last COLumn and
  664.               COLOR values.
  665.  
  666.               The main difference between APRINT and QPRINT is that
  667.               APRINT displays Variable$ on the caller's screen
  668.               allowing you to use @x color codes while QPRINT displays
  669.               Variable$ through direct screen writes.
  670.  
  671.  
  672.                                        8
  673.  
  674.  
  675.  
  676.  
  677.  
  678.           Command: ASK
  679.            Syntax: ASK("Prompt text",Variable$,Color,Mono,Len)
  680.           Example: ASK("Your name? ",Name$,112,30)
  681.  
  682.               The ASK command will allow you to take keyboard input
  683.               and load the result into a variable.  COLOR is the
  684.               attribute to use for the data entry field if the caller
  685.               is in graphics mode.  Otherwise, the MONO attribute is
  686.               used instead.  LEN is the maximum data field length.
  687.  
  688.  
  689.  
  690.           Command: ASSIGN
  691.            Syntax: ASSIGN(Variable$,SET,"text")
  692.           Example: ASSIGN(Path$,0,"C:\1ST\"+Filename$)
  693.  
  694.               The ASSIGN command assigns a value (either another
  695.               variable or string text) to Variable$.  This command
  696.               does support 'joining' two strings together using the
  697.               '+' character.
  698.  
  699.               If SET=0 then "text" is simply assigned to Variable$
  700.               IF SET<0 then "text" is LSET into a string -SET
  701.               characters long.  If SET>0 then "text" is RSET into a
  702.               string SET characters long.
  703.  
  704.               If Variable$ has not been previously assigned then
  705.               DEALER creates a new variable entry in its table.
  706.               You can have up to 100 active variables.
  707.  
  708.               DEALER pre-initializes these variables for you:
  709.  
  710.               Variable       Description
  711.               ──────── ─────────────────────────────────────
  712.               _YES$          Y
  713.               _NO$           N
  714.               _PRESS$        Press any key to continue...
  715.               _PAUSE$        More (Y/N)?
  716.               _COMMAND$      (DOS command parameters passed to
  717.                               DEALER)
  718.  
  719.  
  720.  
  721.           Command: ATTRIBUTE
  722.            Syntax: ATTRIBUTE(Color[,MonoColor])
  723.           Example: ATTRIBUTE(48,112)
  724.  
  725.               The ATTRIBUTE command will change the color attribute
  726.               on the caller's screen.  If you pass DEALER a MonoColor
  727.               parameter then DEALER will use this value if the caller
  728.               is in non-graphics mode.
  729.  
  730.  
  731.                                        9
  732.  
  733.  
  734.  
  735.  
  736.  
  737.           Command: BEEP
  738.            Syntax: BEEP[(Tone,Duration)]
  739.           Example: BEEP(3000,1)
  740.  
  741.               The BEEP command will sound a tone on the PC speaker.
  742.               If you do not pass parameters to BEEP then (2500,1)
  743.               will be used as a default value.
  744.  
  745.  
  746.  
  747.           Command: BOX
  748.            Syntax: BOX(ULRow,ULCol,LRRow,LRCol,Color,MonoColor
  749.                        ,Frame,Shadow [,Text$,Header$])
  750.           Example: BOX(10,10,14,70,48,112,1,1,"Testing...","Option")
  751.  
  752.               The BOX command draws a box on the screen.  ULRow,
  753.               ULCol, LRRow and LRCol describe the box boundaries.
  754.               COLOR and MONOCOLOR are the two attributes to choose
  755.               from (depending if you are using a color or monochrome
  756.               display).  FRAME can be one of the following values:
  757.  
  758.                   1 = single line all around the box
  759.                   2 = double line all around the box
  760.                   3 = double line horizontally, single line vertically
  761.                   4 = single line horizontally, double line vertically
  762.  
  763.               If SHADOW is set to '1' then a shadow is added to the
  764.               box.  TEXT$ is optional and if used TEXT$ is centered in
  765.               the middle of the box.  HEADER$ is also optional and if
  766.               used will be used as the 'name' of the box.
  767.  
  768.  
  769.  
  770.           Command: CALL
  771.            Syntax: CALL <Scriptname>
  772.           Example: CALL SCRIPT2.SCR
  773.  
  774.               The CALL command lets you call another DEALER script
  775.               (.SCR).  After the script has executed the program
  776.               returns to the original script at the next statement
  777.               after the CALL command.
  778.  
  779.  
  780.  
  781.           Command: CHDIR
  782.            Syntax: CHDIR Variable$
  783.           Example: CHDIR "C:\1ST"
  784.  
  785.               The CHDIR command changes the current subdirectory to
  786.               Variable$.  It will also change drives if needed.
  787.  
  788.  
  789.  
  790.                                        10
  791.  
  792.  
  793.  
  794.  
  795.  
  796.           Command: CLOCK_PAUSE
  797.            Syntax: CLOCK_PAUSE
  798.           Example: CLOCK_PAUSE
  799.  
  800.               Pauses the time left clock.  Please note that the
  801.               built-in computer's clock is not altered in any way.
  802.  
  803.  
  804.  
  805.           Command: CLOCK_RESUME
  806.            Syntax: CLOCK_RESUME
  807.           Example: CLOCK_RESUME
  808.  
  809.               Restarts the time left clock paused by the CLOCK_PAUSE
  810.               command.
  811.  
  812.  
  813.  
  814.           Command: CLOSE
  815.            Syntax: CLOSE [FileNum]
  816.           Example: CLOSE 1
  817.  
  818.               The CLOSE command will close a file previously opened by
  819.               the OPEN command.  If you do not pass a file number with
  820.               the command then ALL open files will be closed.
  821.  
  822.  
  823.  
  824.           Command: CLS
  825.            Syntax: CLS[(Color,MonoColor)]
  826.           Example: CLS(48,112)
  827.  
  828.               The CLS command will clear the screen.  If you do not
  829.               pass it parameters then the current screen color is
  830.               used.  Otherwise, you can pass it COLOR and MonoColor
  831.               values that will be used depending if the caller is
  832.               in graphics mode or not.
  833.  
  834.  
  835.  
  836.           Command: COLOR
  837.            Syntax: COLOR[(Color,MonoColor)]
  838.           Example: COLOR(48,112)
  839.  
  840.               The COLOR command will set the current screen colors to
  841.               the parameters passed to the command.  If the caller is
  842.               in graphics mode then the "color" value is used.
  843.               Otherwise, the "monocolor" value is used instead.
  844.  
  845.  
  846.  
  847.  
  848.  
  849.                                        11
  850.  
  851.  
  852.  
  853.  
  854.  
  855.          Function: COMPARE
  856.            Syntax: COMPARE(Variable1$,Variable2$)
  857.           Example: IF COMPARE(Choice$,1) THEN GOTO ...
  858.  
  859.               The COMPARE function will compare any two variable (or
  860.               even text) values and will set the function to TRUE if
  861.               the strings are equal.  Note that upper/lower case does
  862.               not matter with this function.
  863.  
  864.  
  865.  
  866.           Command: COPY
  867.            Syntax: COPY(FileSpec1$,FileSpec2$)
  868.           Example: COPY(Manual$,"C:\1ST")
  869.  
  870.               The COPY command will copy one file to another file
  871.               location.  You can specify variables or text in this
  872.               function.
  873.  
  874.  
  875.  
  876.           Command: COUPON
  877.            Syntax: COUPON <Product>
  878.           Example: COUPON "1ST"
  879.  
  880.               The COUPON command will generate a Sparkware "electronic
  881.               coupon".  The <Product> name must be passed to the
  882.               command and be eight characters or less in size.  If the
  883.               command is successful then a <Product>.CPN file is
  884.               created.
  885.  
  886.  
  887.  
  888.           Command: DCHECK
  889.            Syntax: DCHECK Variable$
  890.           Example: DCHECK Target$
  891.  
  892.               The DCHECK command is used to make sure that a
  893.               subdirectory entry has a trailing '\' character.
  894.               If Variable$ does not end with a '\' then one is added
  895.               to the variable.
  896.  
  897.  
  898.  
  899.          Function: EOF
  900.            Syntax: EOF(FileNum)
  901.           Example: IF EOF(1) THEN GOTO ...
  902.  
  903.               The EOF function returns TRUE if FileNum has reached the
  904.               "End of File" position while reading the file.
  905.  
  906.  
  907.  
  908.                                        12
  909.  
  910.  
  911.  
  912.  
  913.  
  914.          Function: EXIST
  915.            Syntax: EXIST Variable$
  916.           Example: IF EXIST "1ST.CPN" THEN GOTO ...
  917.  
  918.               The EXIST function returns TRUE if Variable$ file
  919.               exists.
  920.  
  921.  
  922.  
  923.           Command: EXIT
  924.            Syntax: EXIT
  925.           Example: EXIT
  926.  
  927.               The EXIT command has no parameters.  It will exit the
  928.               current script and either return to the CALLing script
  929.               or exit to DOS.
  930.  
  931.  
  932.  
  933.           Command: FILLSCRN
  934.            Syntax: FILLSCRN(ULRow,ULCol,LRRow,LRCol,ASCII Char,Color
  935.                             [,MonoColor])
  936.           Example: FILLSCRN(1,1,25,80,32,48,112)
  937.  
  938.               The FILLSCRN command fills a portion of the screen
  939.               with an ASCII character.  ULRow, ULCol, LRRow and
  940.               LRCol describe the screen boundaries.  COLOR and
  941.               MONOCOLOR are the two attributes to choose from
  942.               (depending if the caller is in graphics mode or
  943.               not).  ASCII CHAR is an ASCII character between 0
  944.               and 255 to use to fill the screen.
  945.  
  946.  
  947.  
  948.           Command: GETKEY
  949.            Syntax: GETKEY(Variable$[,ChoiceList])
  950.           Example: GETKEY(Choice$,"ABCDE")
  951.  
  952.               The GETKEY command will poll the keyboard for a
  953.               keystroke.  The keystroke is loaded into Variable$.
  954.               You can also specify an optional list of acceptable
  955.               keystrokes to the GETKEY command.  If you do pass a
  956.               list of keystrokes then Variable$ is loaded with the
  957.               NUMBER of the character received.  For example, in the
  958.               above example, if "C" had been pressed then Variable$
  959.               would have been loaded with "3" since "C" is the third
  960.               item in the list.
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.                                        13
  968.  
  969.  
  970.  
  971.  
  972.  
  973.           Command: GOSUB
  974.            Syntax: GOSUB <label>
  975.           Example: GOSUB PrintIt
  976.  
  977.               The GOSUB command will transfer control of the script to
  978.               the <label> routine (if <label> is found).  The script
  979.               will continue until a RETURN command is found.  Then,
  980.               execution is returned to the next line after the GOSUB
  981.               command.  You can nest up to 20 GOSUBs at one time.
  982.  
  983.  
  984.  
  985.           Command: GOTO
  986.            Syntax: GOTO <label>
  987.           Example: GOTO Done
  988.  
  989.               The GOTO command will transfer control of the script to
  990.               the <label> routine (if <label> is found).  Unlike
  991.               GOSUB, GOTO will not return back to the next instruction
  992.               following the GOTO command.
  993.  
  994.  
  995.  
  996.          Function: GREATER
  997.            Syntax: GREATER(Variable1$,Variable2$)
  998.           Example: IF GREATER(Choice$,1) THEN GOTO ...
  999.  
  1000.               The GREATER function compares two variables (or text
  1001.               strings) and will return TRUE if Variable1$ is greater
  1002.               than Variable2$.
  1003.  
  1004.  
  1005.  
  1006.           Command: HANGUP
  1007.            Syntax: HANGUP
  1008.           Example: HANGUP
  1009.  
  1010.               The HANGUP command will disconnect the caller.
  1011.  
  1012.  
  1013.  
  1014.          Function: INSTR
  1015.            Syntax: INSTR(Start,Variable$,Find$)
  1016.           Example: IF INSTR(1,Name$,"1ST") THEN GOTO ...
  1017.  
  1018.               The INSTR function searches Variable$ for Find$ (or text
  1019.               strings).  START is the starting position in Variable$
  1020.               to use when looking for Find$.  If Find$ is found in
  1021.               Variable$ then the function returns TRUE.
  1022.  
  1023.  
  1024.  
  1025.  
  1026.                                        14
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.          Function: KEYHIT
  1033.            Syntax: KEYHIT
  1034.           Example: IF KEYHIT THEN GOTO ...
  1035.  
  1036.               The KEYHIT function tests to see a keystroke was pressed
  1037.               by the user.  You can use it to test for certain values
  1038.               and transfer control based on those values.
  1039.  
  1040.  
  1041.  
  1042.           Command: KILL
  1043.            Syntax: KILL Variable$
  1044.           Example: KILL "TEMP"
  1045.  
  1046.               The KILL command will delete a file from the disk.
  1047.  
  1048.  
  1049.  
  1050.          Function: LASTKEY
  1051.            Syntax: LASTKEY
  1052.           Example: IF LASTKEY 27 THEN GOTO ...
  1053.  
  1054.               The LASTKEY function returns the last keystroke pressed
  1055.               by the user.  You can use it to test for certain values
  1056.               and transfer control based on those values.
  1057.  
  1058.  
  1059.  
  1060.          Function: LESS
  1061.            Syntax: LESS(Variable1$,Variable2$)
  1062.           Example: IF LESS(Choice$,1) THEN GOTO ...
  1063.  
  1064.               The LESS function compares two variables (or text
  1065.               strings) and will return TRUE if Variable1$ is less
  1066.               than Variable2$.
  1067.  
  1068.  
  1069.  
  1070.           Command: LOCATE
  1071.            Syntax: LOCATE(Row,Col)
  1072.           Example: LOCATE(12,40)
  1073.  
  1074.               The LOCATE command positions the cursor to the ROW and
  1075.               COLumn specified in the argument list.
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.                                        15
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.           Command: MKDIR
  1092.            Syntax: MKDIR Variable$
  1093.           Example: MKDIR "C:\1ST"
  1094.  
  1095.               The MKDIR command will create a subdirectory.  You can
  1096.               use a variable or a text string to hold the subdirectory
  1097.               name.
  1098.  
  1099.  
  1100.  
  1101.          Function: MONO
  1102.            Syntax: MONO
  1103.           Example: IF MONO THEN GOTO ...
  1104.  
  1105.               The MONO function will return TRUE if the caller is
  1106.               in non-graphics mode.  Otherwise, the function returns
  1107.               FALSE.
  1108.  
  1109.  
  1110.  
  1111.           Command: MREAD
  1112.            Syntax: MREAD(FileNum,Lines[,Find$])
  1113.           Example: MREAD(1,20,":START")
  1114.  
  1115.               The MREAD command will display text through the ANSI
  1116.               interpreter.  The FILENUM is the number of the file
  1117.               buffer opened using the OPEN command.  LINES is the
  1118.               number of lines to read before returning control back to
  1119.               the script.  You can also add a third parameter (either
  1120.               a variable or text string) that tells MREAD to begin
  1121.               displaying text after FIND$ was read.  If MREAD reads
  1122.               the line of text "@EXIT@" it will exit the current read.
  1123.  
  1124.               Note that you will need to use the EOF() function to
  1125.               test and see if you are finished reading the file.
  1126.  
  1127.  
  1128.  
  1129.           Command: NAME
  1130.            Syntax: NAME Variable1$ AS Variable2$
  1131.           Example: NAME "DEALER.DOC" AS "DEALER.TXT"
  1132.  
  1133.               The NAME command renames a file to another filename.
  1134.  
  1135.  
  1136.  
  1137.          Function: NULL
  1138.            Syntax: NULL(Variable$)
  1139.           Example: IF NULL(Answer$) THEN ...
  1140.  
  1141.               The NULL function lets you check to see if a variable
  1142.               is "empty" and does not contain a value.
  1143.  
  1144.                                        16
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.           Command: ON
  1151.            Syntax: ON Variable$ GOTO ...
  1152.           Example: ON Choice$ GOTO Label1,Label2,Label3,....
  1153.  
  1154.               The ON command assumes that Variable$ contains a numeric
  1155.               value.  If Variable$="1" then ON will transfer control
  1156.               to the label "LABEL1".  If Variable$="2" then ON will
  1157.               transfer control to "LABEL2", etc.
  1158.  
  1159.           Command: OPEN
  1160.            Syntax: OPEN(Variable1$,FileNum,Variable2$)
  1161.           Example: OPEN("I",1,"DEALER.DOC")
  1162.  
  1163.               The OPEN command will open a file for input or output
  1164.               mode.  The mode is determined by the first variable (or
  1165.               text string) parameter.  Valid values are:
  1166.  
  1167.                    "O"   Opens Variable2$ for OUTPUT
  1168.                    "A"   Opens Variable2$ for APPEND
  1169.                    "I"   Opens Variable2$ for INPUT
  1170.                    "B"   Opens Variable2$ for BINARY
  1171.  
  1172.               FILENUM contains the file number to assign to this file.
  1173.  
  1174.  
  1175.  
  1176.           Command: PAUSE
  1177.            Syntax: PAUSE [seconds]
  1178.           Example: PAUSE 10
  1179.  
  1180.               The PAUSE command will pause execution of the script
  1181.               until a key has been pressed.  If you include the
  1182.               optional [seconds] parameter then PAUSE will wait
  1183.               [seconds] for a keystroke and if a key was not pressed
  1184.               then execution continues with the next statement.
  1185.  
  1186.  
  1187.  
  1188.           Command: PLAY
  1189.            Syntax: PLAY Variable$
  1190.           Example: PLAY "T120O2G8G8G8G8A8A8G16E16C8C8C16C16D16C16"
  1191.  
  1192.               The PLAY command plays a ANSI music string to your PC's
  1193.               speaker.
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.                                        17
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.          Command: PRINT
  1211.           Syntax: PRINT Variable$
  1212.          Example: PRINT "This is a test"
  1213.  
  1214.               The PRINT command displays Variable$ on the screen
  1215.               at the current cursor location.
  1216.  
  1217.  
  1218.  
  1219.           Command: QPRINT
  1220.            Syntax: QPRINT(Variable$,Row,Col,Color[,MonoColor])
  1221.           Example: QPRINT("This is a test",12,33,-1)
  1222.  
  1223.               QPRINT writes a text string to the ROW and COLumn
  1224.               positions on your screen.  Variable$ can either be an
  1225.               assigned variable or text.  COLOR is the color to
  1226.               display Variable$ on the screen.  Setting color to '-1'
  1227.               tells QPRINT to use the current color found at ROW,COL.
  1228.  
  1229.               Passing QPRINT a COLumn value of '-1' tells QPRINT to
  1230.               center Variable$ on your screen.
  1231.  
  1232.               You can also pass a fifth parameter to QPRINT.  The
  1233.               fifth parameter is the color to use if displaying the
  1234.               text on a monochrome system.  If you do not include
  1235.               the fifth parameter QPRINT always uses the COLOR
  1236.               attribute.
  1237.  
  1238.               You can also call QPRINT once with a full list of
  1239.               parameters and then call QPRINT passing only the text to
  1240.               print.  Example:
  1241.  
  1242.                    QPRINT ("This is a test",12,20,-1)
  1243.                    QPRINT ("--------------")
  1244.  
  1245.  
  1246.               When you omit the extra parameters QPRINT will increment
  1247.               the last ROW value by one and use the last COLumn and
  1248.               COLOR values.
  1249.  
  1250.               The main difference between QPRINT and APRINT is that
  1251.               QPRINT displays Variable$ through direct screen writes
  1252.               while APRINT displays Variable$ on the caller's screen
  1253.               as well.
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.                                        18
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.           Command: QUIT
  1270.            Syntax: QUIT
  1271.           Example: QUIT
  1272.  
  1273.               The QUIT command will close the current script and
  1274.               return the caller back to the bulletin board system.
  1275.               It does not disconnect the caller like the HANGUP
  1276.               command.
  1277.  
  1278.  
  1279.  
  1280.           Command: READ
  1281.            Syntax: READ(FileNum,Variable$[,UPPER,TRIM])
  1282.           Example: READ(1,Name$,TRIM)
  1283.  
  1284.               The READ command will read one line of input from a
  1285.               previously OPENed file into Variable$.  You can also use
  1286.               the parameters UPPER (to convert the input to upper
  1287.               case) and TRIM (to trim spaces from the left and right
  1288.               of the string).
  1289.  
  1290.  
  1291.  
  1292.           Command: RETURN
  1293.            Syntax: RETURN [label]
  1294.           Example: RETURN
  1295.  
  1296.               The RETURN command will return control back to the
  1297.               script at the next command *after* the calling GOSUB
  1298.               command.  You can optionally return control to a label
  1299.               by placing the label's name on the same line.
  1300.  
  1301.  
  1302.           Command: RUN
  1303.            Syntax: RUN ScriptName$
  1304.           Example: RUN "SCRIPT2.SCR"
  1305.  
  1306.               The RUN command will transfer control to another DEALER
  1307.               script command.  Unlike the CALL command, RUN does not
  1308.               return back to the calling script once execution is
  1309.               complete.
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.                                        19
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.           Command: SEEK
  1329.            Syntax: SEEK(FileNum,<Byte Position|Variable$>)
  1330.           Example: SEEK(1,4000)
  1331.  
  1332.               The SEEK command will position the file pointer for
  1333.               FILENUM to BYTE POSITION in the file.  You can also
  1334.               specify a string Variable$ instead of a byte position
  1335.               and DEALER will scan the file to locate Variable$
  1336.               from the current position.  If the string was not found
  1337.               the file pointer is restored to the previous position.
  1338.  
  1339.  
  1340.  
  1341.           Command: SET_FILE
  1342.            Syntax: SET_FILE Variable$
  1343.           Example: SET_FILE "1ST.CPN"
  1344.  
  1345.               The SET_FILE command will set an internal variable in
  1346.               the DEALER system that is used whenever the @FILE@
  1347.               variable is encountered.  This lets you set a filename
  1348.               and use it later in a DOS command.
  1349.  
  1350.  
  1351.  
  1352.           Command: SET_PROT
  1353.            Syntax: SET_PROT Variable$
  1354.           Example: SET_PROT "Z"
  1355.  
  1356.               The SET_PROT command is used to define a file transfer
  1357.               protocol to use within the DEALER system.  You may
  1358.               either pass a letter (A-Z) or a number (1-26) that
  1359.               corresponds with the protocol you wish to use.  It is
  1360.               up to you to make sure that the protocol being selected
  1361.               is defined in SETUP under "Transfer protocols".
  1362.  
  1363.  
  1364.  
  1365.           Command: SHELL
  1366.            Syntax: SHELL(Variable$)
  1367.           Example: SHELL("1ST")
  1368.  
  1369.               The SHELL command will execute a DOS program or batch
  1370.               file from inside DEALER.
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.                                        20
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.           Command: SHOW_FILE
  1388.            Syntax: SHOW_FILE Variable$
  1389.           Example: SHOW_FILE "LOGO"
  1390.  
  1391.               The SHOW_FILE command will display a text file to the
  1392.               caller.  DEALER will pause every 23 lines for a MORE?
  1393.               prompt to be displayed.  The SHOW_FILE command will
  1394.               honor these @variables in the text file itself:
  1395.  
  1396.                    @PAUSE@         Pauses display of the text and asks
  1397.                                    for "More?"
  1398.                    @MORE@          Same as @PAUSE@
  1399.                    @POFF@          Turn off the 23 line checking
  1400.                                    so displays do NOT pause.
  1401.                    @PON@           Turns 23 line checking on.
  1402.  
  1403.  
  1404.  
  1405.           Command: WRITE
  1406.            Syntax: WRITE(FileNum,Variable$)
  1407.           Example: WRITE(1,"This is a test")
  1408.  
  1409.               The WRITE command will write information to a previously
  1410.               OPENed file.  If you are writing to a file that was
  1411.               opened for BINARY mode then a CR/LF is not added to the
  1412.               file.
  1413.  
  1414.               If you wish to write out hexadecimal values you can use
  1415.               the "X'nn" format where "nn" is the value (in hex) to
  1416.               write.
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.                                        21
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.          @Variables supported
  1447.          --------------------
  1448.  
  1449.          These @variables are supported by the DEALER system.  You may
  1450.          use them anywhere you wish within a script or text file.
  1451.  
  1452.          @BAUD@                 Connect rate of the caller
  1453.          @BBSNAME@              The name of your bulletin board system
  1454.          @CLS@                  Clears the screen
  1455.          @DATE@                 Today's date in MM-DD-YY format
  1456.          @DEALER@               Your Sparkware Dealer ID
  1457.          @FILE@                 Replaced with file used in SET_FILE
  1458.          @FILESIZE(<Filename>)  Displays size (in bytes) of <Filename>
  1459.          @PORT@                 Serial port
  1460.          @PROT_DL@              Protocol download command
  1461.          @PROT_NAME@            Protocol upload command
  1462.          @PROT_UP@              Protocol description
  1463.          @SYSDATE@              Today's date in MM-DD-YY format
  1464.          @SYSDIR@               The DEALER system directory
  1465.          @SYSOP@                Your name (as sysop)
  1466.          @SYSTIME@              Current system time in HH:MM format
  1467.          @TIME@                 Current system time in HH:MM format
  1468.          @TIMELEFT@             Time caller has left on this call
  1469.          @YEAR@                 Current year (in YYYY format)
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.                                        22
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.          Questions and answers
  1506.          ---------------------
  1507.  
  1508.  
  1509.          Q: What happens if I just install this dealer system but do
  1510.             not obtain a dealer ID from Sparkware?
  1511.  
  1512.          A: Your callers will be able to download the electronic
  1513.             coupon that is good for $3.00 off the 1stReader registration
  1514.             price.  However, you are not entitled to receive the $5.00
  1515.             dealer commission for each copy sold through this door until
  1516.             you receive a dealer ID from us.
  1517.  
  1518.  
  1519.  
  1520.          Q: Why can't I just generate one 1ST.CPN coupon file and insert
  1521.             it into my copy of 1ST-112.ZIP so that when anyone downloads
  1522.             this file from my system the coupon is already there and ready
  1523.             to use?
  1524.  
  1525.          A: This won't work because each coupon generated by the door
  1526.             includes a unique serial number.  Once a caller redeems this
  1527.             serialized coupon with us, the serial number is 'retired' and
  1528.             is not able to be used again.  This means that you will only
  1529.             earn your $5.00 dealer commission on the *first* use of the
  1530.             coupon and loose it for all other sales made with the same
  1531.             coupon.  In other words, don't do this...
  1532.  
  1533.  
  1534.  
  1535.          Q: Is there a Sparkware support conference that my system can
  1536.             carry for our callers?
  1537.  
  1538.          A: Yes!  We provide support through our 1stReader support
  1539.             conference and we do echo this conference with any dealer
  1540.             who wishes to receive the conference from us in QWK format.
  1541.  
  1542.             Registered dealers also have access to conference #21 on
  1543.             our customer support system.  This is where you can find
  1544.             the latest updates to this system as well as ideas and
  1545.             tips to help introduce your callers to the 1stReader system.
  1546.  
  1547.  
  1548.  
  1549.          Q: Can I use Sparkware's dealer system for any other products
  1550.             I wish to sell?
  1551.  
  1552.          A: No.  This is a violation of our license agreement to use
  1553.             this software.  If you wish to insert any text files or
  1554.             scripts that do not directly support our products please
  1555.             contact us first for permission.  Hints, tips or text about
  1556.             our products are ok to use with our system.
  1557.  
  1558.                                        23
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.          Q: Can I request my Sparkware Dealer ID over the Internet?
  1565.  
  1566.          A: Yes!  Send a message to our Internet address (contact us at
  1567.             sparky@rodent.raider.net) with the following information
  1568.             completed:
  1569.  
  1570.             Your name.........
  1571.             Address line #1...
  1572.             Address line #2...
  1573.             City..............
  1574.             State.............
  1575.             Zip code..........
  1576.             Home telephone....
  1577.             Work telephone....
  1578.             BBS software used.
  1579.             Name of BBS.......
  1580.             BBS telephone.....
  1581.  
  1582.             We will send your Sparkware Dealer ID back to you so you can
  1583.             begin using The DEALER System immediately.  Please note that
  1584.             we cannot send ORDERS.NEW via the Internet.
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.                                        24
  1618.  
  1619.