home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Chapter IV - Other Features of T-Ref
-
- This chapter highlights some of the other features T-Ref possesses that
- have not fully been discussed in previous chapters. These include page
- headers, page numbering, setting the source code input width, setting the
- output page length, and saving the updated parameters.
-
- Page Headers:
-
- To further enhance the source and cross reference listings, the program
- implements simplistic, but powerful, page header options. Rather than
- defining the header within the source code, the header is created using
- special pop-up windows.
- The headers are first created by striking the F3 function key (for the
- source listing header) or the F4 function key (for the cross reference listing
- header). The size of the headers are 2 to 5 lines by up to 75 characters or
- columns wide. After responding with the number of lines for the header (from 2
- to 5 lines), the program will display a header screen in which to type in the
- header format.
- The left, right, up, and down arrow keys are used to position the cursor
- within the screen area. The Home key moves the cursor to the beginning of the
- line, while the End key moves the cursor to the end of the line. The Del key
- is used to completely blank the header screen and begin from scratch. When
- the header has been formatted, the Esc key exits the screen, returning to the
- program.
- To activate printing either of the headers, simply move the block cursor
- to the appropriate 'Header' field and set it to "On" by striking the space
- bar. There is a 'Header' field within both the source listing and the cross
- reference listing areas.
-
- Page Numbering:
-
- Either or both the source listing and the cross reference listing pages
- may be numbered. The page number appears at the bottom of the page and
- buffering occurs between pages whether the output is sent to the printer or to
- a specific file. Along with the numbering, the output is given a date/time
- tag retrieved from the Operating System.
- To activate page numbering, move the block cursor to the "Paging" field
- within either the source listing or the cross reference listing areas and
- strike the space bar until "On" appears within the block cursor.
-
- Setting the source width:
-
- The F5 function key sets the number of columns the program will read from
- the source (input) file. The range may be from 25 columns to 132 columns.
- Any text on the input source code lines beyond the specified column setting
- will be ignored and not printed.
- The column setting has an additional effect when using the "Active
- Procedure" field in the source listing. As mentioned in chapter II above,
- when the "Active Procedure" field is turned "On", the procedure or function
- active for that line of source code is printed to the far right of the
- listing. The column position is set to one column beyond the column setting.
- Therefore, if the column setting is 80, the active procedure print-out will
- begin on column 81. (This produces an interesting effect in that while in the
- Turbo editor, only the first 80 columns are normally shown on the screen, so
-
-
- 17
-
-
-
-
-
-
-
-
- the active procedure print-out is not normally displayed if it is beyond
- column 80.)
-
- Setting the page length:
-
- The F6 function key sets the page length for all of the output. The page
- length is set to a default value of 66 (which is normal for most printers
- using 11 inch paper lengths). If you have a printer that prints in compressed
- line formats or uses legal size paper, for example, you will want to change
- this value. The range is from 25 to 255.
-
- Saving the Updated Parameters:
-
- The F10 function key will save all of the parameters (as they are shown)
- out to the file called 'T-REF.DB'. This information includes all of the
- screen fields, the source and cross reference headers, the column setting, and
- the page length setting. Like the other files T-REF uses, this file must
- reside on the default drive and default directory. Once saved, each time the
- program executes, the new "saved" parameters are loaded.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 18
-
-
-
-
-