home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / PASCAL / PASTUT34 / TUTORHLP.TXT < prev    next >
Text File  |  1993-06-12  |  22KB  |  663 lines

  1. .topic NoContext=0
  2.  Turbo Pascal Tutor and Examples ▄
  3.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  4. Welcome to Turbo Pascal Tutor.  This program allows notes on Turbo
  5. Pascal to be viewed in a scrollable window, whilst the source code
  6. for a number of examples can also be inspected. These example programs
  7. can be run as executable files (.EXE) from the tutor screen.
  8. The ≡ menu is accessed by pressing Alt-Space.  All the other menus are
  9. accessed by pressing Alt-Z, where Z is the first letter of the menu.
  10. For example, the "Notes" menu is pulled down by Alt-N.
  11.  
  12. Press ESC to put this help screen away.
  13.  
  14. .topic Viewer=2
  15.  File viewer ▄
  16.   ▀▀▀▀▀▀▀▀▀▀▀▀
  17. A file viewer views the contents of a text file. You can use the
  18. arrow keys to move about in the file. A file is loaded via the
  19. {File│Open:FOpen} menu item.
  20.  
  21.   Up         Move up one line
  22.   Down       Move down one line
  23.   Right      Move right one column
  24.   Left       Move left one column
  25.   PgUp       Move one page up
  26.   PgDn       Move one page down
  27.   Home       View right most column of the file
  28.   End        View left most column of the file
  29.   Ctrl-PgUp  View top of file
  30.   Ctrl-PgDn  View bottom of file.
  31.  
  32. File viewers can be resized and moved using the {Windows} menu.
  33.  
  34. .topic List
  35.  List ▄
  36.   ▀▀▀▀▀
  37. Selecting List from the Notes sub-menu provides a screen window
  38. containing an alphabetical list of text files covering many
  39. Turbo Pascal topics, with a brief description of the contents.
  40. After observing the filename required, press Alt-F3 to leave this
  41. screen display and then select Open to obtain a Dialog Box for
  42. selection of the required file.
  43.  
  44. .topic LOpen
  45.  List Open ▄
  46.   ▀▀▀▀▀▀▀▀▀▀
  47. Select the required file from the Dialog Box by pressing the Tab
  48. key and then using the arrow keys to move to the appropriate file.
  49. Then press the ENTER key.
  50.  
  51. .topic ExCode
  52.  Example Code ▄
  53.   ▀▀▀▀▀▀▀▀▀▀▀▀▀
  54. On selecting Open a list of Pascal source code files is presented
  55. for selection of the required file by pressing the Tab key and
  56. using the arrow keys to move to the appropriate file. The ENTER
  57. key should then be pressed.
  58.  
  59. .topic Graphics
  60.  Graphics ▄
  61.   ▀▀▀▀▀▀▀▀▀
  62. This program can be run by selection using the arrow keys and
  63. pressing ENTER, or else by pressing the highlighted key G.
  64.  
  65. The program illustrates the graphics capabilities of Turbo Pascal,
  66. by using the Line procedure with a suitable algorithm to draw a
  67. parabola. Apart from using the Graph unit of Turbo Pascal, a
  68. GraphPRN unit is employed to allow hardcopy to an Epson printer.
  69. This latter unit is listed by Ohlsen and Stoker in 'Turbo Pascal
  70. Advanced Techniques' published by the Que Corporation.
  71.  
  72. .topic System
  73.  ≡ (System) menu ▄    (Alt-Spacebar)
  74.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  75. The System menu appears on the far left of the menu bar and is
  76. represented by the ≡ symbol.
  77.  
  78. When you pull down the ≡ menu, you see
  79.  
  80.   {About:SAbout}
  81.  
  82. .topic SAbout
  83.  ≡│About ▄
  84.   ▀▀▀▀▀▀▀▀
  85. When you choose the About command from the ≡ (System) menu, a
  86. dialog box appears, showing copyright and version information.
  87.  
  88. To close the box, press Esc, or click the top left symbol ▀.
  89.  
  90. .topic Records
  91.  Records ▄
  92.   ▀▀▀▀▀▀▀▀
  93. This program can be run by selection using the arrow keys and
  94. pressing ENTER, or else by pressing the highlighted key R.
  95.  
  96. This program allows the user to input data to a sales record.
  97. The data for the record are Name, Item, Quantity, Unit Price and VAT
  98. Rate and this data can be entered into memory by the user response to
  99. screen prompts. The input is checked for correctness of type and form.
  100. An initial menu allows the user to make a record file on disk or to
  101. open an existing record file and, once open, the user can append to,
  102. change data on or read from this record file. Because of the
  103. sequential storage of the records on disk, it is not easy to remove a
  104. record and pack the disk file. For simplicity, deletion is achieved by
  105. changing the record fields for name and item to spaces and the numeric
  106. fields to zeros, effectively giving an empty record.
  107. Finally when the user selects Quit, the program automatically closes
  108. the record file before returning to DOS.
  109.  
  110.  
  111. .topic UserIO
  112.  UserIO ▄
  113.   ▀▀▀▀▀▀▀
  114. This program can be run by selection using the arrow keys and
  115. pressing ENTER, or else by pressing the highlighted key U.
  116.  
  117. Program to illustrate user input from the keyboard and output to the
  118. screen. Use is made of the procedures Readln, Write and Writeln found
  119. in the System Unit, which does not have to be declared in the Uses
  120. clause as it is automatically made available. Consult the Library
  121. Reference for details of these procedures.
  122.  
  123. .topic POpen
  124.  Examples Open ▄
  125.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  126. To open a source code file select Open by arrow keys and then
  127. press ENTER, or by pressing O. Then use the tab key to move to
  128. the list of programs and then the arrow keys to select the
  129. required one. Then press ENTER.
  130.  
  131. .topic Notes
  132.  Notes  (Alt-N) ▄
  133.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  134. The Notes menu offers choices for opening files, changing
  135. directories, and exiting the program.
  136.  
  137.  {Open:FOpen}          {Change Dir:FChangeDir}    {FExit}
  138.  
  139. .topic FOpen
  140.  File│Open  (F3) ▄
  141.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  142. The Open command displays the Open a File dialog box. In this
  143. dialog box you select the text file you want browse in a
  144. {file viewer:Viewer}.
  145.  
  146. The {Open a File:FOFileOpenDBox} dialog box contains:
  147.  
  148.  ■ an {input box:FOName} with a history list
  149.  ■ a {list box:FOFiles} to browse the directory
  150.  ■ the standard {Cancel:CancelBtn} button
  151.  ■ {Open:FOOpenBtn} action button
  152.  ■ an information panel that describes the
  153.    selected file
  154.  
  155. .topic FChangeDir
  156.  File│Change Dir...▄
  157.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  158. File│Change Dir brings up the {Change Directory:FCChDirDBox}
  159. dialog box, in which you can change the current directory.
  160.  
  161. .topic FDosShell
  162.  File│DOS Shell ▄
  163.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  164. With the DOS Shell command, you can leave the program temporarily
  165. to perform a DOS command or run another program.
  166.  
  167. To return to this program, type EXIT at the DOS prompt.
  168.  
  169. .topic FExit
  170.  File│Exit ▄     (Alt-X)
  171.   ▀▀▀▀▀▀▀▀▀▀
  172. The Exit command terminates this program.
  173.  
  174. .topic Windows
  175.  Window ▄    (Alt-W)
  176.   ▀▀▀▀▀▀▀
  177. The Window menu contains commands to close, move and perform
  178. other window-management commands.
  179.  
  180. Most of the windows in this program have all the standard window
  181. elements, including scroll bars, a close box, and zoom icons.
  182.  
  183. For more about windows and their elements, refer to windows.
  184.  
  185.  
  186.  Window-management commands
  187.  ══════════════════════════
  188.  
  189.  {Size/Move:WSizeMove}        {Zoom:WZoom}
  190.  {Tile:WTile}             {Cascade:WCascade}
  191.  {Next:WNext}             {Previous:WPrevious}
  192.  {Close:WClose}
  193.  
  194. .topic WSizeMove
  195.  Window│Size/Move ▄     (Ctrl-F5)
  196.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  197. Choose this command to change the size or position of the active
  198. window.
  199.  
  200.  ▄▄▄▄▄▄
  201.   Size
  202.  ▀▀▀▀▀▀
  203. If you press Shift while you use the arrow keys, you can change
  204. the size of the active window. Once you've adjusted its size or
  205. position, press Enter.
  206.  
  207. If a window has a Resize corner, you can drag that corner to
  208. resize the window.
  209.  
  210.  ▄▄▄▄▄▄
  211.   Move
  212.  ▀▀▀▀▀▀
  213. When you choose Window│Size/Move, the active window moves in
  214. response to the arrow keys. Once you've moved the window to where
  215. you want it, press Enter.
  216.  
  217. You can also move a window by dragging its title bar with the
  218. mouse.
  219.  
  220. .topic WZoom
  221.  Window│Zoom ▄   (F5)
  222.   ▀▀▀▀▀▀▀▀▀▀▀▀
  223. Choose Zoom to resize the active window to the maximum size. If
  224. the window is already zoomed, you can choose this command to
  225. restore it to its previous size.
  226.  
  227. You can also double-click anywhere on the window's title bar
  228. (except where an icon appears) to zoom or unzoom the window.
  229.  
  230. .topic WTile
  231.  Window│Tile ▄
  232.   ▀▀▀▀▀▀▀▀▀▀▀▀
  233. Choose Window│Tile to tile all file viewers on the desktop.
  234.  
  235.  ┌────────────────────────────────────┐
  236.  │ ╔════════════1══╗┌────────────2──┐ │
  237.  │ ║               ║│               │ │
  238.  │ ║               ║│               │ │
  239.  │ ║               ║│               │ │
  240.  │ ║               ║│               │ │
  241.  │ ╚═══════════════╝└───────────────┘ │
  242.  │ ┌────────────3──┐┌────────────4──┐ │
  243.  │ │               ││               │ │
  244.  │ │               ││               │ │
  245.  │ │               ││               │ │
  246.  │ │               ││               │ │
  247.  │ └───────────────┘└───────────────┘ │
  248.  └────────────────────────────────────┘
  249.              Tiled Windows
  250.  
  251. .topic WCascade
  252.  Window│Cascade ▄
  253.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  254. Choose Window│Cascade to stack all file viewers on the desktop.
  255.  
  256.  ┌──────────────────────────1─┐
  257.  │┌─────────────────────────2─┐
  258.  ││┌────────────────────────3─┐
  259.  │││╔═══════════════════════4═╗
  260.  │││║                         ║
  261.  │││║                         ║
  262.  │││║                         ║
  263.  │││║                         ║
  264.  │││║                         ║
  265.  └└└╚═════════════════════════╝
  266.  
  267.         Cascaded Windows
  268.  
  269. .topic WNext
  270.  Window│Next ▄
  271.   ▀▀▀▀▀▀▀▀▀▀▀▀
  272. Choose Next to cycle forwards through the windows on the desktop.
  273.  
  274. .topic WPrevious
  275.  Window│Previous ▄
  276.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  277. Choose Previous to cycle backwards through the windows on the desktop.
  278.  
  279. .topic WClose
  280.  Window│Close ▄    (Alt-F3)
  281.   ▀▀▀▀▀▀▀▀▀▀▀▀▀
  282. Choose Close to close the active window.
  283.  
  284. You can also click the Close box in the upper right corner to
  285. close a window.
  286.  
  287. .topic Options
  288.  Options  (Alt-O) ▄
  289.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  290. The Options menu contains commands that let
  291. you change {color:OColors} and {mouse:OMouse} default settings.
  292.  
  293. .topic OMouse
  294.  Options│Mouse... ▄
  295.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  296. The Mouse command brings up the {Mouse Options:OMMouseDBox}
  297. dialog box, where you can set various options that control how your
  298. mouse works, including:
  299.  
  300.  ■ how fast a double-click is
  301.  ■ which mouse button (right or left) is
  302.    active
  303.  
  304. .topic OColors
  305.  Options│Colors... ▄
  306.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  307. The Colors item brings up the {Colors dialog:OCColorsDBox} box,
  308. where you can customize the colors of the display.
  309.  
  310. .topic OSaveDesktop
  311.  Options│Save Desktop ▄
  312.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  313. Saves the state of all open windows to a file call TVDEMO.DSK. This
  314. file can be reloaded by selecting {Options│Restore Desktop:ORestoreDesktop}.
  315.  
  316. .topic ORestoreDesktop
  317.  Options│Restore Desktop ▄
  318.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  319. Restore a previously-saved state of all open windows from a file
  320. call TVDEMO.DSK. This file is saved via the
  321. {Options│Save Desktop:OSaveDesktop} menu command.
  322.  
  323. .topic FOFileOpenDBox
  324.  Help on Open a File Dialog Box ▄
  325.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  326. The Open a File dialog box contains an input box, a {file list:FOFiles},
  327. a file information panel, the standard button {Cancel:CancelBtn},
  328. one other action button ({Open:FOOpenBtn}), plus a history list
  329. that's attached to the {Name inputbox:FOName}.
  330.  
  331. .topic FOName
  332.  ┌─ Name ──────────────────────────┐
  333.  │                                 │
  334.  └─────────────────────────────────┘
  335. The Name input box is where you enter the name of the file to
  336. load, or the file-name mask to use as a filter for the Files list
  337. box (for example, *.*).
  338.  
  339. .topic FOFiles
  340.  ┌ Files ──────────────────────────┐
  341.  │                                 │
  342.  │  FILENM01.PAS  │  FILENM09.PAS  │
  343.  │  FILENM02.PAS  │  FILENM10.PAS  │
  344.  │  FILENM03.PAS  │  FILENM11.PAS  │
  345.  │  FILENM04.PAS  │  FILENM12.PAS  │
  346.  │  FILENM05.PAS  │  ..            │
  347.  │  FILENM06.PAS  │  \MOREXAMP     │
  348.  │  FILENM07.PAS  │  \TOURS        │
  349.  │  FILENM08.PAS  │  \ANSWERS.DIR  │
  350.  │  ▒▒▒■▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   │
  351.  └─────────────────────────────────┘
  352. The Files list box lists the names of files in the current
  353. directory that match the file-name mask in the Name input box,
  354. plus the parent directory and all subdirectories.
  355.  
  356.  ┌──────────────────────────────────────────┐
  357.  │ C:\TP\EXAMPLES\*.PAS                     │
  358.  │ HELLO.PAS       52  Jul 14,1990  12:00pm │
  359.  └──────────────────────────────────────────┘
  360. The File information panel shows the path name, file name, date,
  361. time, and size of the selected file.
  362.  
  363. None of the items on this information panel are selectable.
  364.  
  365. .topic FOOpenBtn
  366.  ┌──────────┐
  367.  │ [ Open ] │
  368.  └──────────┘
  369. The Open button opens a new Viewer window and places the selected
  370. file in that window.
  371.  
  372. .topic CancelBtn
  373.  ┌────────────┐
  374.  │ [ Cancel ] │
  375.  └────────────┘
  376.  
  377. If you choose Cancel, nothing changes and no action occurs, and
  378. the dialog box is put away.
  379.  
  380. (Esc always cancels a dialog box, even if a Cancel button does
  381. not appear.)
  382.  
  383. .topic OpenBtn
  384.  ┌──────────┐
  385.  │ [ Open ] │
  386.  └──────────┘
  387.  
  388. In the Open a File dialog box, if you choose the Open button
  389. TVDEMO opens a new {file viewer:Viewer} and places the selected
  390. file in that window.
  391.  
  392. .topic FCChDirDBox
  393.  Help on the Change Directory dialog box ▄
  394.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  395. The Change Directory dialog box consists of an input box, a list
  396. box, the standard OK and Help buttons, and two other buttons
  397. (Chdir and Revert).
  398.  
  399.  ┌ Directory Name ─────────────────────┐
  400.  │                                     │
  401.  └─────────────────────────────────────┘
  402. The Directory Name input box is where you type in the path of the
  403. new directory.
  404.  
  405.  ┌ Directory Tree ─────────────────────┐
  406.  │   Drives                            │
  407.  │   └─┬C:\                            │
  408.  │     └─┬TP                           │
  409.  │       └──TVISION                    │
  410.  └─────────────────────────────────────┘
  411. The Directory Tree list box enables you to navigate directories
  412. by using the selecting bar and pressing Enter.
  413.  
  414. If you're using the keyboard, press Enter to make the selected
  415. directory be the current directory, then choose OK or press Esc
  416. to exit the dialog box.
  417.  
  418.  ┌──────────┐
  419.  │ [Chdir ] │
  420.  └──────────┘
  421. The Chdir button changes the current directory once you've
  422. selected or typed in a directory name.
  423.  
  424.  ┌──────────┐
  425.  │ [Revert] │
  426.  └──────────┘
  427. The Revert button goes back to the previous directory, as long as
  428. you haven't yet exited the dialog box.
  429.  
  430. .topic OMMouseDBox
  431.  Help on the Mouse Options dialog box ▄
  432.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  433. This dialog box consists of one check box, one slider bar, and
  434. the standard buttons OK and Cancel.
  435.  
  436.  ┌──────────────────────────┐
  437.  │ Mouse Double Click       │
  438.  │ Slow     Medium     Fast │
  439.  │ ▒▒▒▒▒▒▒▒▒▒▒■▒▒▒▒▒▒▒▒▒▒ │
  440.  └──────────────────────────┘
  441. The Mouse Double Click slider bar adjusts the double-click speed of
  442. your mouse.
  443.  
  444.  ┌───────────────────────────┐
  445.  │ [X] Reverse Mouse Buttons │
  446.  └───────────────────────────┘
  447. Reverse Mouse Buttons makes the right mouse button take on the
  448. normal functions of the left--and vice versa.
  449.  
  450.  See also:
  451.  ═════════
  452.  {Options│Mouse... menu command:OMouse}
  453.  
  454. .topic OCColorsDBox
  455.  Help on the Colors dialog box ▄
  456.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  457. The Colors dialog box consists of two list boxes, a text display
  458. area, the standard OK, Cancel, and Help buttons, and one of the
  459. following:
  460.  
  461.  ■ On color and black-and-white systems, it
  462.    also contains two color palettes.
  463.  ■ On monochrome systems, it contains a set
  464.    of radio buttons instead of the palettes.
  465.  
  466. This dialog box is where you can change the colors of different
  467. parts of this program.
  468.  
  469.  ┌─ Group ─────────────┐
  470.  │   Desktop          │
  471.  │   Menus            ■│
  472.  │   Dialogs/Calc     ▒│
  473.  │   Puzzle           ▒│
  474.  │   Calendar         ▒│
  475.  │   Ascii table      ▒│
  476.  │                    │
  477.  └─────────────────────┘
  478. The Group list box contains the names of the different regions of
  479. the program that you can customize.
  480.  
  481.  ┌─ Item ──────────────┐
  482.  │   Color            │
  483.  │                    ■│
  484.  
  485. When you select a group from the Group list, the Item list box
  486. displays the names of the different views in that region.
  487.  
  488.  ┌ Foreground ┐   ┌ Background ┐
  489.  │ ░▒▓░▒▓░▒▓░ │   │ ▓░▒▓░▒▓░▒▓ │
  490.  │ ▓░▒▓░▒▓░▒▓ │   │ ░▒▓░▒▓░▒▓░ │
  491.  │ ▒▓░▒▓░▒▓░▒ │   └────────────┘
  492.  └────────────┘
  493. On color and black-and-white systems, you use the Foreground and
  494. Background palettes to modify colors.
  495.  
  496.  ┌ Colors ──────────────┐
  497.  │  (∙) Mono low        │
  498.  │  ( ) Mono high       │
  499.  │  ( ) Mono underscore │
  500.  │  ( ) Mono inverse    │
  501.  └──────────────────────┘
  502.  
  503. On monochrome systems, you use the Colors set of radio buttons
  504. systems to modify the character attributes.
  505.  
  506.  ┌────────────────┐
  507.  │ Text Text Text │
  508.  │ Text Text Text │
  509.  └────────────────┘
  510. On all systems, the display text (above the Help button) shows
  511. the current color or attribute settings.
  512.  
  513. Changes do not take effect on the desktop until you close the
  514. Colors dialog box by choosing OK.
  515.  
  516. .topic Pointers
  517.  Pointers ▄
  518.   ▀▀▀▀▀▀▀▀▀
  519. This program can be run by selection using the arrow keys and
  520. pressing ENTER, or else by pressing the highlighted key P.
  521.  
  522. This program illustrates the use of Pointers and Records.
  523. It also illustrates Variable Typecasts, so that the value of
  524. a pointer variable can be evaluated and hence the segment and
  525. offset of the variable pointed to can be found. The functions
  526. 'seg' and 'ofs' are also used for this purpose. Then by
  527. changing to the OS shell, the user can enter DEBUG and
  528. display (d Seg:Ofs) to check the location of the records in
  529. memory. Note the apparent multiple storage with a 16-bit
  530. machine with 1 Mbyte of memory and explain this paradox.
  531. It is based on a program in the Turbo Pascal version 3 Manual,
  532. with additional declarations and statements by Ron Shaw.
  533.  
  534. .topic RunEx
  535.  Run Examples ▄
  536.   ▀▀▀▀▀▀▀▀▀▀▀▀▀
  537. Select the appropriate example from the sub-menu, by using
  538. the arrow keys and pressing ENTER, or by pressing the
  539. appropriate highlighted letter.
  540.  
  541. .topic Bintree
  542.  Binary Trees ▄
  543.   ▀▀▀▀▀▀▀▀▀▀▀▀▀
  544. This program can be run by selection using the arrow keys and
  545. pressing ENTER, or else by pressing the highlighted key B.
  546.  
  547. Program to show how a binary tree can be used to order a set
  548. of integers.
  549.  
  550. .topic Dosops
  551.  DOS Operations ▄
  552.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  553. This program can be run by selection using the arrow keys and
  554. pressing ENTER, or else by pressing the highlighted key D.
  555.  
  556. Program to illustrate the use of DOS operations from a Turbo
  557. Pascal Program.
  558.  
  559. .topic IntrDemo
  560.  BIOS interrupt ▄
  561.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  562. This program can be run by selection using the arrow keys and
  563. pressing ENTER, or else by pressing the highlighted key I.
  564.  
  565. Program to illustrate Turbo Pascal INTR procedure, which uses DOS.
  566. The BIOS Interrupt Service 10 Hex is used with Function (AH) = 0F
  567. For use with Version 5 + of Turbo Pascal. Version 3 is different
  568. because Registers is not predefined in DOS, but user defined.
  569.  
  570. .topic KeyCheck
  571.  KeyCheck ▄
  572.   ▀▀▀▀▀▀▀▀▀
  573. This program can be run by selection using the arrow keys and
  574. pressing ENTER, or else by pressing the highlighted key K.
  575.  
  576. This program illustrates the use of Units in Turbo Pascal, whereby
  577. compiled code can be incorporated into the current program. The unit
  578. is called LIMITKEY.TPU and provides a procedure that only allows a
  579. selected set of keys to be acceptable input. The selected keys are
  580. defined as the first parameter of the procedure LimitChar.
  581. Based on a program by David Arber of David Arber Associates.
  582.  
  583.  
  584. .topic TwoLinks
  585.  Double linked list ▄
  586.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  587. This program can be run by selection using the arrow keys and
  588. pressing ENTER, or else by pressing the highlighted key T.
  589.  
  590. Program to display on the screen the creation of a double-linked
  591. list on the Heap and to show the action as the records of the list
  592. are traversed both forward and backward under the control of the
  593. right and left arrow keys.
  594. The functions Seg and Ofs are used to determine the addresses on
  595. Heap of each record of the linked list and these addresses are then
  596. displayed as Seg:Ofs for the record and for its fields Previous and
  597. Next. The Number field is also displayed.
  598. The active record is shown in red.
  599.  
  600. .topic HeapList
  601.  Linked list on the Heap ▄
  602.   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  603. This program can be run by selection using the arrow keys and
  604. pressing ENTER, or else by pressing the highlighted key H.
  605.  
  606. The program demonstrates the creation of a single linked list of
  607. records on the Heap, using pointers. The user is invited to enter
  608. the name, as a string[15], and price in pence, as an integer, for
  609. three items, which form the linked list.
  610.  
  611.  
  612. .topic Proc
  613.  Procedure ▄
  614.   ▀▀▀▀▀▀▀▀▀▀
  615. This program can be run by selection using the arrow keys and
  616. pressing ENTER, or else by pressing the highlighted key C.
  617.  
  618. Program to illustrate the use of a procedure with parameters.
  619. The procedure simply creates a Times Table for the entered value of
  620. the multiplicand, or base, for the range of multiplier values also
  621. entered by the user. The procedure is called TimesTable and has the
  622. three parameters: BaseValue, Lower and Upper.
  623.  
  624. .topic Func
  625.  Function ▄
  626.   ▀▀▀▀▀▀▀▀▀
  627. This program can be run by selection using the arrow keys and
  628. pressing ENTER, or else by pressing the highlighted key F.
  629.  
  630. Program to illustrate the use of a function, in this case to evaluate
  631. a number raised to a power ( x ^ y ). The number is referred to as the
  632. base value and the power is the exponent. Negative base values with
  633. fractional exponents are excluded in this simple program as they would
  634. require the use of complex numbers. A unit POWERU.TPU is available to
  635. handle complex solutions.
  636.  
  637.  
  638. .topic OverLays
  639.  OverLays ▄
  640.   ▀▀▀▀▀▀▀▀▀
  641. This program can be run by selection using the arrow keys and
  642. pressing ENTER, or else by pressing the highlighted key O.
  643.  
  644. Program to illustrate the use of Overlays, whereby code is contained
  645. in a number of units on disk and is called into overlay section of
  646. memory when required. Useful when memory is otherwise fully used.
  647. Some modifications made to the original Borland program to give
  648. screen indication of the overlay in use.
  649. For details refer to chapter 13 The Overlay Unit in the Programmer's
  650. Guide (version 6.0).
  651.  
  652.  
  653. .topic Structure
  654.  Structure ▄
  655.   ▀▀▀▀▀▀▀▀▀▀
  656. This program can be run by selection using the arrow keys and
  657. pressing ENTER, or else by pressing the highlighted key S.
  658.  
  659. Program to illustrate the structure of Turbo Pascal programs.
  660.  
  661.  
  662.  
  663.