
  ScriptView Main Menu

  Welcome to the ScriptView main menu.  From the main menu, you may
  perform any of the ScriptView functions.

  þ  Use the Script submenu to enter the name of a script for
     diagramming; perform project reporting; or list the files
     in a subdirectory.
  þ  Create action diagrams, procedure call flow diagrams and reports,
     and variable cross reference reports from the Action, Calls, and
     Xref submenus.
  þ  Use the utilities in the Tools submenu to format your scripts,
     perform multi-file string searching, prepare scripts, and view
     ScriptView output and files.
  þ  Print your scripts and documentation using the Print submenu.
  þ  Customize the ScriptView operating environment in the Options
     submenu.

    You may press [F1] to get context sensitive help from any menu.


  Script Menu

  The Script menu allows you to enter the name of a single script for
  diagramming, or to use a project file to create multiple diagrams and
  reports.  You may also list the files in any subdirectory by
  choosing List Directory.

  The script name you enter for diagramming will be used in the
  action diagram, procedure call tree diagram and report, and
  variable cross reference reports.


  Action Diagram

  The Action submenu allows you to view your script as an action
  diagram.  An action diagram is a graphical representation of the
  structure of your script and can be used to help you code better.

  You may toggle several selections to :

  þ  Use line numbering in your action diagrams.
  þ  Create drawings using IBM extended characters (line graphics).
     If your printer cannot support these characters, you may toggle
     this selection off to tell ScriptView to use standard ASCII.
  þ  View the diagram online immediately, in addition to creating
     a disk file.  If you toggle this off now, you may still use
     Tools/View to see it later.
  þ  Create a special form of action diagram which shows only control
     statements and commented lines.  This compressed diagram is called
     an outline view and helps to simplify large scripts.

  Choose Do_it! to begin diagramming.


  Calls Menu

  You can access the Tree and Report submenus from the Calls menu.

  The Tree submenu allows you to create procedure call tree diagrams
  which graphically illustrate the flow of your program.  Procedure
  calls and definitions are shown as lines branching off the main
  "tree" of your script.

  The Report submenu allows you to create various procedure reports.
  Concordance reports showing where a procedure is defined or called
  in your script can be created here.


  Xref Menu

  The Xref menu provides a way to see where your variables are used
  in your script.  Using the variable cross reference reports, you
  can see exactly where a variable is used or modified, in which
  procedure or script.

  You may toggle any of the menu selections to :

  þ  Create an alphabetically sorted report showing each variable
     and what line it is referenced in (basic).
  þ  Create a sorted report showing each variable and what
     procedure/line it is reference in (variable/module).
  þ  Create a sorted report showing the procedures in a script and
     what variables are referenced in them (module/variable).
  þ  View the report online immediately, in addition to creating a
     disk file.  If you toggle this off now, you may still use
     Tools/View to see it later.

  Choose Do_it! to begin report creation.


  Tools

  The Tools menu provides several utilities which can make program
  development easier.

  You can use tools to :

  þ  Format your scripts with consistent indentation of control
     structures.
  þ  Change the case of Paradox reserved words and user keywords in your
     script.
  þ  Perform multiple file string searching.
  þ  Use a substitute PrepareFinal which is faster than the one provided
     by the data entry toolkit.
  þ  Process your script to ready it for use with procedure libraries.
  þ  Perform tab expansion and substitution in your scripts.
  þ  Remove comments from script and/or copy comments to file.
  þ  View scripts and ScriptView output.


  Print Menu

  The Print menu allows you to send ScriptView output to a printer or
  disk.  In this menu, you can have ScriptView send a formfeed to the
  printer, choose to add line numbers to your output if you haven't
  already, or select to send output to your printer or disk.

  When printing, ScriptView sends all output to the DOS PRN device.
  To change printer options (i.e. margins, headers, etc.), use the
  Options/Printer Options menu.

  Choose Do_it! to begin printing, [Space] to pause.


  Options

  The Options menu allows you to customize the ScriptView operating
  environment to your personal preferences.

  Options are available to :

  þ  Change the default system information used in report headers.
  þ  Change the name of the output file used in multi-file string searches.
  þ  Specify where ScriptView will look for scripts and where it will place
     output of reports and diagrams.
  þ  Change the tab size used in printing, tab expansion, and indentation.
  þ  Indicate whether to include a system header in ScriptView output.
  þ  Turn off the display of the splash screen when starting ScriptView.
  þ  Change default printer options.
  þ  Change the file extensions used in ScriptView file output.
  þ  Customize ScriptViews colors.


  Header Info

  Use this menu to change the information appearing in the header of
  each report and diagram.

  You can change the following :

  þ  System Name
  þ  Programmer Name
  þ  Copyright Date
  þ  Copyright Holder


  Remove Comments

  This menu allows you to clean a script by stripping out all comments from
  a script, or to copy all comments in a script to another file.  If you
  choose to perform the latter, an output file with the default extension
  of "CM2" will be created.

  You may use toggles to select the following :

  þ  Remove comments from script.
  þ  Copy comments to a file.

  Choose Do_it! to begin comment processing.


  String Search

  You may use the string search feature of ScriptView to find all occur-
  rences of a string in your script.  Each occurrence along with the line
  and line number are output to a file with the same name but different
  extension as the script.  A powerful extension to the search feature is
  the ability to search every file matching a mask.  Using wildcards such
  as "*.SC" you can tell when and where you have used a certain variable,
  report, word, etc.  The output file for this feature has the default
  file name of "SVSEARCH.SC".

  You can toggle options to specify the following :

  þ  Specify whether to search a single script or all files matching a
     certain file mask.  Wildcards are acceptable.
  þ  Enter the string pattern to search.
  þ  Search words only.
  þ  Perform a case sensitive search.

  Choose Do_it! to begin searching.


  Procedure Report

  You can create a concordance report showing when and where your pro-
  cedures are defined and called in your script.  You can change the detail
  of this report by toggling various menu selections.

  You can toggle menu selections to choose the following :

  þ  Include a summary of procedure definitions in your report.
  þ  Include an alphabetical report of each procedure and all procedures
     called by it in your report.
  þ  Include an alphabetical report of each procedure and all procedures
     which call it in your report.
  þ  Skip Paradox functions when processing the report.
  þ  View the report online immediately, in addition to creating a disk
     file.  If you toggle this off now, you may still use Tools/View to
     see it later.

  Choose Do_it! to begin report creation.


  Tree Diagram

  This menu allows you to create procedure call tree diagrams which
  graphically illustrate the flow of your script.  Procedure calls and
  definitions are drawn as single and double lines branching off the main
  "tree" of your script.  In this tree, the name of the script is the root.

  You may select the following from the menu :

  þ  Diagram only procedure calls, procedure definitions, or both.
  þ  Skip Paradox function calls.
  þ  Create drawings using IBM extended characters (line graphics).  If
     your printer cannot support these characters, you may toggle this
     selection off to tell ScriptView to use standard ASCII.
  þ  Single space the diagram by choosing Compact Tree.
  þ  View the diagram online immediately, in addition to creating a disk
     file.  If you toggle this off now, you may still use Tools/View to
     see it later.

  Choose Do_it! to begin report creation.


  Format Script

  You may format the look of your script by using proper indentation of
  control structures and by changing the case of all Paradox reserved
  keywords and user specified keywords.  The possible cases may be:
  Proper (Paradox style), UPPERCASE, lowercase, or As-is.  User
  keywords or new Paradox keywords may be added by inserting them into
  the SV.DB table.  The case of each keyword in this table is important
  for it is used when As-is is selected.

  Any word which is not a keyword may also be processed by indicating
  its case as UPPERCASE, lowercase, or As-is (don't touch).

  Choose Do_it! to begin processing.



  The output file specified already exists on the disk.

  Choose:

  þ  Replace existing file to continue processing, and overwrite
     the existing file with new output.

  þ  Cancel to continue processing, but specify a new file name.


  Page Header

  You may specify whether a one line header will be included on the
  top of each page when you print from ScriptView.

  Choose :

  þ  Use Default Header to use the default header (file, date, page #).
  þ  Use Special Header to specify a one line header.
  þ  Use No Header to leave out the header.


  Printer Options

  ScriptView allows you to change any or all of its printer options.

  You may change the following :

  þ  Page Length
  þ  Margins
  þ  Page Width
  þ  Automatic tab expansion
  þ  Automatic form feed conversion (for printers which can't handle ^L )
  þ  Default page header.
  þ  Print initialization sequences.


  File Extension

  When ScriptView processes your script, an output file with the same
  name, but different extension is created.  You may change that
  extension here.


  View

   Use View to browse through your scripts and output from ScriptView.

   Movement
     Move cursor                                             Arrows
     Beginning of file, end of file                          [Home],[End]
     Next page, previous page                                [PgDn],[PgUp]
     Left 40 columns                                         [Ctrl] Ä
     Right 40 columns                                        [Ctrl] Ä
     Goto line #                                             [G]
     Move # lines forward/backward                           [+],[-]

   Other
     Search for string (c,w,b,g)                             [Ctrl] Z
       (case sensitive, words only, backwards, global)
     Search again                                            [Alt] Z
     Toggle tab expansion to default tab length              [T]
     ClearImage, Quit                                        [F8],[Esc]


  Field Edit Help

  Use the following keys to edit your input string.

   Movement
     Move cursor                                             Arrows
     Beginning of string                                     [Home]
     End of string                                           [End]

   Edit
     Toggle insert/overwrite                                 [Ins]
     Delete character under cursor                           [Del]
     Delete previous character                               [Backspace]
     Quit                                                    [Esc]


  PickFile Help

   Use the following keys to select desired file, or press a beginning
   letter to move to that file.

   Movement
     Move cursor                                             [Up],[Down]
     Beginning of list                                       [Home]
     End of list                                             [End]
     Next page                                               [PgDn]
     Previous page                                           [PgUp]
     Moveto File                                             First letter

   Select
     Accept highlighted file                                 [F2],[Enter]
     Abort without selecting                                 [Esc]


  PrepareFinal Help

  ScriptView supplies this substitute to the PrepareFinal supplied
  with the data entry toolkit.  Not only is this version faster, but
  also does not generate the occasional script error as does the
  Paradox 2.0 version.  To use PrepareFinal, simply specify the name
  of the script.

  You may specify the following :

  þ  Replace all TK variables with their corresponding keyboard codes.
  þ  Remove all occurrences of TKDebug().

  Choose Do_it! to begin processing.


  Use Project Help

  This menu is used to determine the types of reports included in your
  documentation.  Select each report you would like to have.  Current
  settings for each report are used as defaults.  You may change each in
  the Action, Calls, and Xref menus.  To see the default report settings,
  you may press [Alt] = , i.e. hold down the [Alt] key while pressing the
  equals key.

  If you select "print" and output is to FILE, then each report will be
  created on disk and also combined into one file.

  If you select "overwrite existing files," ScriptView will not prompt
  you if an existing file will be overwritten.


  Project Help

  When you are finished developing an application and wish to document
  it, you can use the project feature of ScriptView.  This feature allows
  you to create action diagrams, call reports and diagrams, and variable
  cross reference reports for any number of scripts.  Simply create a
  project file and choose Use Project.  From there, check off any reports
  you wish to create.  The options used in the documentation are those
  that are set in the Action, Calls, and Xref submenus.

  You can do the following in the Project menu :

  þ  Open an existing project file or create a new one.
  þ  Specify the header information included in the reports.
  þ  Specify which scripts belong to the current project file.
  þ  Begin project documentation.
  þ  Save any changes made to the current project file.


  InsWriteLibs

  Many PAL programmers begin program development by prototyping with
  procedures in a definition script.  Later on, they create procedure
  libraries to deal with large scripts, increase performance, and to
  allow the Paradox VMM to handle memory management.

  ScriptView provides an easy way to make the transition from procedure
  definition scripts to procedure libraries.  By accepting a script
  and library as input, ScriptView will scan your script for procedures
  and insert the correct number of writelib and release procs statements.
  You can specify whether to remove any existing writelib statements
  to avoid duplicate writelib statements.

  Note:  When specifying the path of the library name, remember to
  specify an additional backslash for each backslash in the path.
  Example: "c:\\paradox2\\procs" should be used instead of
  "c:\paradox2\procs".


  Tab Expansion

  Certain older printers can not handle tabs correctly.  Tab expansion
  substitutes each tab in your script with enough spaces to advance
  to the next tabstop.  You may specify the default space-to-tab
  substitution value in the Options/Tab Length menu.  Please note that
  this value is also used in the action diagrammer and script indenter
  to indicate the number of spaces used in indentation.


  Screen Colors

  ScriptView allows you to customize all the colors displayed in the
  operating environment.  To change to a new color, look up its
  corresponding number in the color chart and enter it at the prompt.


  Directories

  ScriptView uses a default source directory to look for scripts, and
  and an output directory to store its output.  You may specify the
  source and output directory here.  If a directory does not exist
  or has been deleted, the current subdirectory is used.



  The project file you specified does
  not exist.  You may create one or
  enter a different name.




  Choose Yes to leave ScriptView.  Remember to save any changes to your
  project files.

  Choose No to remain in ScriptView.



  Use the arrow keys to move around the project table.
  Each row represents one script in your project.  If
  you would like to add or remove any scripts from this
  table, leave ScriptView and edit the table from within
  Paradox.

  When you are ready to continue, press [F10].

