home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / srinfo14.zip / FASTART.DOC < prev    next >
Text File  |  1990-09-06  |  9KB  |  184 lines

  1. So you want to get down to business...
  2. Good idea!!
  3.  
  4. We suggest that you print out this file. It's only a few pages long.
  5.  
  6. SR-Info can be run from floppy drives. Only the files SRI.EXE and SRI.MSG
  7. are required. However this guide will assume a hard disk and drive C: as
  8. an example.
  9.  
  10. Create a directory off the root and switch to that directory.
  11. These DOS commands will do the job:
  12.     CD \
  13.     MD SRI
  14.     CD SRI
  15.  
  16. Unzip the files SRI.ZIP, SRIHELP.ZIP, and DEMOPRGS.ZIP. The manual can be
  17. unzipped later.
  18.  
  19. Enter SRI
  20.    The signon screen will stay on until you press Function key 10. We
  21.    want you to read about us.
  22.  
  23. When you see the cursor on the line following "1>" you are 'at the one prompt'
  24. and ready to key in commands. Press the ENTER key after each command.
  25.  
  26. Try some. These assume you have unzipped the demo programs disk.
  27.  
  28.     USE COMDESC   this opens a file with one line about each command
  29.                   and function
  30.     USE#2 MEMBERS  this is a fictional membership list opened in select area 2
  31.                    SR-Info allows six data files to be opened at one time.
  32.  
  33.     STAT           The status display show information about open data files,
  34.                    memory variables, and more.
  35.  
  36.     Keep pressing the RETURN or ENTER key until you again see the 'one prompt'.
  37.  
  38.     SELECT 2       We want to view the member file before we do anything as
  39.                  serious as looking at commands. Note that the 'one prompt'
  40.                  should now be a 'two prompt'.
  41.  
  42.     EDIT           The EDIT command displays one record at a time. Take time to
  43.              study the HELP window. The notation is concise.
  44.              ^<HOME> means press down the CTRL key and the HOME key
  45.              together (CTRL first,keep it down and press HOME).
  46.  
  47.              Try pressing ^<PgDn>
  48.              This will add a record and take you into the APPEND mode--
  49.              same as EDIT but adds new records. Why not add a few of your
  50.              own 'members'. Back up with PgUp to return to edit mode.
  51.              Press the END key to return to the two prompt.
  52.  
  53.  
  54.  
  55.     SELECT 1 Now lets look at the brief command reference.
  56.  
  57.     BROWSE   You now see a screen full of records, one line for each.
  58.              The HELP window is almost the same as in EDIT. We have
  59.              tried to keep the keystrokes the same for both commands.
  60.                 In fact, you can build many applications, with these as
  61.              your 'work horse' commands. Learn the variations
  62.              BROWSE TEXT and EDIT TEXT and your applications will
  63.              become more customized and sophisticated.
  64.  
  65.              Experiment with the keystrokes. PgUp and PgDn move you
  66.              between records. The Up and Dn arrows move you between
  67.              fields of the same record. (so do the TAB and shift TAB
  68.              keys - a new feature added since the HELP screens were last
  69.              edited. CAUTION!-don't edit the SRI.MSG file. There are
  70.              trailing blanks on many lines that affect screen layout.
  71.              Make changes at your own risk!
  72.  
  73.              Press the END key or one of the other keys to end the BROWSE
  74.              session. Most special keys (e.g. the function keys) will
  75.              cause SR-Info to exit BROWSE or EDIT. The exit key is saved
  76.              in a system variable :KEY and may be read by your programs.
  77.                 You can decide your next action based on the key used. (See
  78.              the MENU demo program for an example.)
  79.  
  80.     MODIFY    We are getting serious here! Don't modify important files
  81.               without first backing up! A power or system failure could
  82.               result in lost data.
  83.                  We are going to add two new fields to the COMDESC file.
  84.               PgDn to a blank field and create a new field called USED.
  85.                  Choose type C (character) and width 1.
  86.                  Add a second field NOTES, also type C, but width 60.
  87.               Press the END key. The last blank field will be ignored.
  88.                  Type 3 is OK, so press the enter key and watch the
  89.               modification occur.
  90.  
  91.     EDIT      -to look at modified records one at a time.
  92.  
  93.     Return to the command line or one prompt and enter
  94.  
  95.     BROW      Note that commands can be shortened to four characters. This
  96.               will not work with functions.
  97.                 You new fields will not fit on the screen. To see them,
  98.               press ^L. Of course, they are all blank filled until you
  99.               add something. Go back to EDIT, find the EDIT and BROWSE
  100.               commands and fill in the new fields. You want to keep doing
  101.               this as you try new commands and functions.
  102.  
  103.  
  104.  
  105.    You say you don't like the order of presentation! Good!
  106.  
  107.    INDEX ON COMMAND TO COMDESC
  108.               Go back to BROWSE. The order should be better. Of course
  109.               you could modify the file again and add a new field to
  110.               distinguish between commands and functions, say FUNCORCOM
  111.               and index on FUNCORCOM+COMMAND. Or you could index on ...
  112.  
  113.     Let's run one of the demo programs.
  114.  
  115.     DO MENU        Note that DO launches a program from the command line.
  116.                After a few seconds you should see a menu.
  117.                   You can select in two ways. Move the 'light bar' up
  118.                and down with the Up and Down keys. Press the ENTER key
  119.                when the light bar is on your choice. Many other special
  120.                keys (like the function keys) will also work. Note that
  121.                option zero cannot be chosen this way.
  122.                   The second selection method is the press a number key. This
  123.                works for options 0 through 9. Options greater than 9
  124.                must be selected by moving the light bar.
  125.                   Experiment with the menu choices, and work your way back to
  126.                the command line (the one prompt).
  127.  
  128.     QUIT       This gets you out of SR-Info
  129.  
  130.     SRI        The lesson is almost over. Get back to the command line.
  131.  
  132.     COMPILE MENU
  133.                This creates a file MENU.CPL which SR-Info can read and
  134.                execute very quickly. If there is no CPL file, we build
  135.                one when a program is started (the few second delay
  136.                mentioned above) and throw it away.
  137.  
  138.     DO MENU        You should see the program begin much more quickly.
  139.                Back to the command line ...
  140.  
  141.     WRITE MENU
  142.                You are now looking at the MENU.PRG file with the SR-Info
  143.                built in editor. Note how to get help.
  144.                   The editor is not designed to persuade you to throw away
  145.                your word processor or text editor. It is a modest editor
  146.                with some special strengths.
  147.                   It is internal to SR-Info. So it is always available.
  148.                Thus it can be invoked in your programs to allow users
  149.                to create memos, etc. It can be used when programming
  150.                to make corrections. In fact, when errors are detected
  151.                and WRITE is invoked, the file opens positioned near the
  152.                error.
  153.                   The Alt-F combination can be used to format program
  154.                files with regular indentations. We strongly advise
  155.                use of this feature. It will help solve nesting and
  156.                unmatched structure statement problems (e.g. a
  157.                missing ENDIF to go with an IF)
  158.                   The ^P combination provides program printouts with
  159.                headers and form feeds skipping over perforations.
  160.                Leave WRITE - the END key will exit saving changes.
  161.                ^Q will exit without saving.
  162.  
  163.  
  164.     HELP!
  165.                VP-Info has on-line help. To get help from the command
  166.                line just enter HELP. If you are clear on the topic
  167.                you want help with specify that as well.
  168.                e.g. HELP BROWSE
  169.  
  170.                If VP-Info recognizes the the first four characters
  171.                of what you key in, that's the help you will get.
  172.                Note that VP-Info looks for commands before functions.
  173.                e.g. HELP REPL will get you help on the REPLACE command.
  174.                You must key in HELP REPLACE( to get help with the replace
  175.                function.
  176.  
  177.     That's it! Try the sample programs. Read the sample programs. Call us 
  178.     at (416) 398-8414. We can also be reached via Compuserve - 72010,1323.
  179.     (We will answer 'quickies' without registration. - but full support 
  180.     is part of what you buy when you register.)
  181.        Good luck!
  182.                                 Sid Bursten and Bernie Melman
  183.  
  184.