home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / pascal / riptools / riptools.doc < prev    next >
Encoding:
Text File  |  1993-12-10  |  64.6 KB  |  1,959 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.             ╔════════════════════════════════════════════════╗
  21.             ║                                                ║
  22.             ║              RipTools Version 1.0              ║
  23.             ║                 BetaVersion 1.2                ║
  24.             ║                                                ║
  25.             ║                                                ║
  26.             ║         For Turbo Pascal 6.0 and 7.0           ║
  27.             ║                                                ║
  28.             ║           Programmed By : Shawn Hord           ║
  29.             ║                                                ║
  30.             ║                                                ║
  31.             ║   Copyright(c)1993 The Computer Doctor, Inc.   ║
  32.             ║               All Rights Reserved              ║
  33.             ║                                                ║
  34.             ╚════════════════════════════════════════════════╝
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.                               COPYRIGHT NOTICE
  85.                               ----------------
  86.  
  87.      RipTools is a copyrighted program being distributed under the shareware
  88.      concept.  As such you may  use RipTool for a period of 30  days without
  89.      registering the software.   After  the 30 day  evaluation period,  you
  90.      must  register your  copy of  RipTools or  you will  be in  violation of
  91.      United States and International copyright laws.
  92.  
  93.  
  94.  
  95.      As a shareware  program, RipTools may be freely  distributed through  a
  96.      BBS.  Shareware distributors  may distribute copies of RipTools on disk
  97.      for a modest disk duplication charge not to exceed $6 per disk.
  98.  
  99.  
  100.  
  101.                                     WARRANTY
  102.                                     --------
  103.  
  104.    RipTools is distributed without warranty.  In no event will The Computer
  105.    Doctor, Inc., or Shawn Hord be liable to you for damages, including any 
  106.    loss of profits, lost savings, or other incidental or consequential damages  
  107.    arising out of your use of or inability to use the program, even if The 
  108.    The Computer Doctor, Inc. or Shawn Hord, or an  authorized representative 
  109.    has been advised of the possibility of such damages. The Computer Doctor,Inc. 
  110.    and Shawn Hord will not be liable for any such claim by any other party.
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. ══════════════════════════════════════════════════════════════════════════════
  131. RipTools For Turbo Pascal 6.0 and 7.0                                       i
  132.   
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.           RipTools is a suplemental unit that can be used with RMDOOR4.5 
  142.      written by: Mark Goodwin and Randy Hunt. That allows Turbo Pascal 
  143.      programmers to create Door programs. This Unit will not opperate correctly
  144.      unless you are using RMDOOR Version 4.5 or higher. 
  145.  
  146.           To implement this supplemental unit in your Turbo Pascal Programs
  147.      simply add the following line to the beging of your program.
  148.  
  149.      USES RMDOOR,RipTools
  150.  
  151.   For further information about RMDOOR4.5 please see your RMDOOR Documentation.
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196. ══════════════════════════════════════════════════════════════════════════════
  197. RipTools For Turbo Pascal 6.0 and 7.0                                       i
  198.  
  199.  
  200. █ Table of contents
  201. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  202.  Section                                                                Page
  203.  
  204.  Constants                         . . . . . . . . . . . . . . . . . . .   1
  205.  RipTools Unit Procedures listed   . . . . . . . . . . . . . . . . . . .   2
  206.  RipTools Unit Functions  listed   . . . . . . . . . . . . . . . . . . .   3
  207.  RipTools Unit Procedure Explained . . . . . . . . . . . . . . . . . . .   4
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261. ══════════════════════════════════════════════════════════════════════════════
  262. RipTools For Turbo Pascal 6.0 and 7.0                                       i
  263.  
  264.  
  265. █ Constants used in the RipTools Unit
  266. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  267.  
  268. ─────────────────────────────────────────────────────────────────────────────
  269.   Costant                 Value     Meaning
  270. ─────────────────────────────────────────────────────────────────────────────
  271.   Default                   0       Default 8x8 BitMapped Graphics Font
  272.   Triplex                   1       Triplex Scalable Graphics Font
  273.   Small                     2       SmallFont Scalable Graphics Font
  274.   SansSerif                 3       SansSerif Scalable Graphics Font
  275.   Gothic                    4       Gothic(old english) Scalable Grafx Font
  276.   Script                    5       Script Scalable Graphics Font
  277.   Simplex                   6       Simplex Scalable Graphics Font
  278.   TriplexScrip              7       Triplex Script Scalable Graphics Font
  279.   Complex                   8       Complex Scalable Graphics Font
  280.   European                  9       European Scalable Graphics Font
  281.   Bold                     10       Bold Scalable Graphics Font
  282.  
  283.   BClipboard                1       Clipboard Button Style Attribute
  284.   BInvert                   2       Invert Button, Button Style Attribute
  285.   BResetScreen              4       Reset Screen, Button Style Attribute
  286.   BChiseled                 8       Chiseled Special Effect, Button Attribute
  287.   BRecessed                16       Recessed Special Effect, Button Attribute
  288.   BDropShadow              32       Droped Shadow Special Effect Button Attr.
  289.   BAutoStamp               64       AutoStamp to ClipBoard, Button Attribute
  290.   BIcon                   128       ICON Button, Button Style Attribute
  291.   BPlain                  256       PLAIN Button, Button Style Attribute
  292.   BBevel                  512       Beveled Special Effect, Button Attribute
  293.   BMouse                 1024       Mouse Button, Button Style Attribute
  294.   BUnderLine             2048       Underline Hot Key on Mouse Button, Attr.
  295.   BHotIcons              4096       HotKey for Icons, Button Attribute
  296.   BVerticalAdj           8192       Vertical Adjust, Button Style Attribute
  297.   BRadioGroup           16384       Button Belongs to a Radio Group, Attr.
  298.   BSunken               32768       Sunken Special Effect, Button Attribute
  299.  
  300.   RemoteOnly            FALSE       Used to toggle sending RipScrip info to
  301.                                     both Local and Remote screens.
  302.                                     False = Send to Both Local and Remote
  303.                                     True  = Send Rip ONLY to Remote Terminal
  304.  
  305.   CreateFile            FALSE       Used to toggle the Local captureing of
  306.                                     RipScrip Commands to a file you name.
  307.                                     When Set to True you All RipScrip Commands
  308.                                     send to the remote or local screens will
  309.                                     be captured. GREAT FOR TESTING YOUR OUTPUT
  310.                                     See: Pre-Viewing Your Programs Rip OutPut.
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327. ══════════════════════════════════════════════════════════════════════════════
  328. RipTools For Turbo Pascal 6.0 and 7.0                                       i
  329.  
  330.  
  331.  
  332. █ RipTools Unit Procedures
  333. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  334.  
  335. ──────────────────────────────────────────────────────────────────────────────
  336.   Procedure                  Description
  337. ──────────────────────────────────────────────────────────────────────────────
  338.   RegisterRipTools     Registers RipTools, removes the delay.
  339.   OpenFile             Creates a local Rip capture file.
  340.   CloseFile            Closes the local Rip capture file.
  341.   RipTextWindow        Creates text window for non-RipScrip output.
  342.   RipGraphWindow       Creates graphics window for RipScrip output.
  343.   RipResetWindows      Resets and clears the graphics and text windows.
  344.   RipClrTextWindow     Clears the text window.
  345.   RipClrGraphWindow    Clears the graphics window.
  346.   RipGotoXY            Places the text cursor at X,Y positions
  347.   RipMove              Places the graphics cursor at the X,Y positions.
  348.   RipHomeTextCursor    Homes the text cursor to the top left corner.
  349.   RipEraseEOL          Erases a line to End-Of-Line in the Text Window.
  350.   RipSetColor          Sets Current Drawing Color, affects Text also.
  351.   RipWriteMode         Selects Copy or XOR Graphics Writting Mode.
  352.   RipPutText           Writes a String to the display at the current
  353.                        graphics pointer location, w/current text style.
  354.   RipPutTextXY         Write a String to the display at X,Y pointer
  355.                        location. Uses current Text Style.
  356.   RipTextStyle         Sets the current font style, direction and
  357.                        point size, for RipPutText and RipPutTextXY.
  358.   RipPutPixel          Puts a Pixel at X,Y location using current color.
  359.   RipLine              Draws a line from (X1,Y1) to (X2,Y2) locations
  360.   RipRectangle         Draws a rectangle, using the current SetColor.
  361.   RipBar               Draws a Bar using the current RipFillStyle.
  362.   RipCircle            Draws a Circle at X,Y. Using current SetColor.
  363.   RipOval              Draws elliptical arc in current color and line style.
  364.   RipFillOval          Draws filled ellipse using current color and pattern.
  365.   RipArc               Draws circular arc in current color and linestyle.
  366.   RipOvalArc           Draws an elliptical arc in current color and linestyle.
  367.   RipPieSlice          Draws a circular pie slice.
  368.   RipOvalPieSlice      Draws an elliptical pie slice.
  369.   RipBezier            Draw a Bezier curve.
  370.   RipPoly              Draws a closed polygon in current color and line-style.
  371.   RipFillPoly          Draws a filled polygon in current fillstyle and color.
  372.   RipPolyLine          Draws an open polygon in current color.
  373.   RipFloodFill         Fill a region of the screen using fill style and color.
  374.   RipLineStyle         Sets the current line style and thickness.
  375.   RipFillStyle         Sets the current Fill Pattern (predefined) and color.
  376.   RipFillPattern       Defines a user defined fill pattern and color.
  377.   RipMouseField        Defines a rectangular hot mouse Region.
  378.   RipKillMouseFields   Destroys all pre-defined mouse regions.
  379.   RipBeginText         Define a rectangular text region.
  380.   RipTextRegion        Display a line of text in rectangular text region.
  381.   RipEndText           Ends a previous Text Region for output.
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393. ══════════════════════════════════════════════════════════════════════════════
  394. RipTools For Turbo Pascal 6.0 and 7.0                                       i
  395.  
  396.  
  397.  
  398. █ RipTools Unit Procedures, (continued)
  399. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  
  400.  
  401.     
  402. ──────────────────────────────────────────────────────────────────────────────
  403.   Procedure            Description
  404. ──────────────────────────────────────────────────────────────────────────────
  405.   RipGetImage          Gets an (X1,Y1) to (X2,Y2) Graphics region and copies
  406.                        it to the clipboard. (icon)
  407.   RipPutImage          Puts current Image from the clipboard to an X,Y location.
  408.   RipSaveImage2Disk    Write contents of the clipboard (icon) to disk.
  409.   RipLoadIcon          Loads and displays an icon from disk to screen.
  410.   RipButtonStyle       Sets the current Mouse Button Style.
  411.   RipButton            Defines and displays Mouse Button, using current button
  412.                        Style.
  413.   RipScrollRegion      Scrolls a (X1,Y1) (X2,Y2) graphics region UP or DOWN.
  414.   RipPlayBackScene     Playback Local .RIP file. (effects remote user only)
  415.   RipEnterBlockMode    Used to auto-initiate any desired File Transfer modes.
  416.   RipComplete          Sends the "END-OF-RIP-SCENE" command to users terminal.
  417.  
  418.  
  419.  
  420.  
  421.  
  422. █ RipTools Unit Functions
  423. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  424. ──────────────────────────────────────────────────────────────────────────────
  425.   Function                   Description
  426. ──────────────────────────────────────────────────────────────────────────────
  427.   Dec2Mega             Converts an Integer(Base10) to a MegaNum(Base36) Number
  428.   Word2Mega            Converts a Word(Base10/16) to a MegaNum(Base36) Number
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459. ══════════════════════════════════════════════════════════════════════════════
  460. RipTools For Turbo Pascal 6.0 and 7.0
  461.  
  462.  
  463.  
  464. █ RipTools Unit Procedures Explained
  465. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  466.  
  467. RegisterRipTools                                                  Procedure
  468. ───────────────────────────────────────────────────────────────────────────
  469.   Function     This removes the delay at the end of the program, and displays
  470.                your name and copy number when the program ends.
  471.  
  472.   Declaration  RegisterRipTools;
  473.  
  474.  
  475. OpenFile                                                          Procedure
  476. ───────────────────────────────────────────────────────────────────────────
  477.   Function     Opens the capture file that will be used for capturing your
  478.                RipScrip output. This output can be used to test your RipScrip
  479.                commands, via a RipScrip viewer. In order for you to begin
  480.                capturing your RipScrip output you must set the constant
  481.                varible: CreateFile to True. Toggling this varible from True
  482.                or False will determine what parts of your RipScrip output
  483.                will be captured. This is useful for playing back the RipScene
  484.                once you have reset the screen and want to re-display the
  485.                screen again without having to re-call your procedures again.
  486.                Use the DisplayFile command in the RMDOOR TPU unit to display
  487.                the file to the screen.
  488.  
  489.   Declaration  OpenFile(FileName : String);
  490.  
  491.   Example      Procedure Dummy;
  492.                Begin
  493.                  CreateFile:=True;
  494.                  OpenFile('TEST.RIP');
  495.                  ...
  496.                End;
  497.  
  498. RipCloseFile                                                      Procedure
  499. ───────────────────────────────────────────────────────────────────────────
  500.   Function     RipCloseFile closes the current capture file, and sets the
  501.                Constant varible: CreateFile to FALSE.
  502.  
  503.   Declaration  RipCloseFile;
  504.  
  505.   Example      Procedure Dummp;
  506.                Begin
  507.                  CreateFile:=True;
  508.                  RipOpenFile('TEST.RIP');
  509.                  RipCloseFile;
  510.                  CreateFile:=False;             {Safty purposes only}
  511.                End;
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525. ══════════════════════════════════════════════════════════════════════════════
  526. RipTools For Turbo Pascal 6.0 and 7.0
  527.  
  528.  
  529.  
  530. █ RipTools Unit Procedures Explained
  531. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  532.  
  533. RipTextWindow                                                     Procedure
  534. ───────────────────────────────────────────────────────────────────────────
  535.   Function     The RipTextWindow defines a Text window that will be used to
  536.                display Non-Graphicsl ANSI and ASCII text from your program.
  537.                You can set text wrap mode on/off and you can specify the
  538.                text font size that will be used to display the text.
  539.  
  540.   Declaration  RipTextWindow(X1,Y1,X2,Y2, Wrap, Size: Integer);
  541.  
  542.   Remarks
  543.  
  544.      Table Values for the Wrap Parameter
  545.  
  546.  WRAP
  547.  ────┬────────────────────────────────────────────────────────────────────-
  548.   0  │ Text that extends beyond the right margin is truncated.
  549.   1  │ Text that extends beyond the right margin will wrap to the next line.
  550.  
  551.  
  552.  Table Values for the Size Parameter
  553.  
  554.  SIZE  Font Size   X Column Range   Y Row Range
  555.  ────┬────────────────────────────────────────-
  556.   0  │ 8x8               0-79          0-42
  557.   1  │ 7x8               0-90          0-42
  558.   2  │ 8x14              0-79          0-24
  559.   3  │ 7x14              0-90          0-24
  560.   4  │ 16x14             0-39          0-24
  561.  
  562.  
  563.   Example      Procedure Dummy;
  564.                Begin
  565.                  RipTextWindow(0,0,80,11,1,2);      {1/2 the scrn for Txt}
  566.                  RMWrite('This is a test of the national broadcast system.');
  567.                End;
  568.  
  569. RipGraphWindow                                                    Procedure
  570. ───────────────────────────────────────────────────────────────────────────
  571.   Function     This procedure will define the Graphics View Port where all
  572.                RipScrip Commands will effect. All non-RipScrip commands are
  573.                sent to the Text Window if one has been defined, other wise
  574.                they will be ignored.
  575.  
  576.   Declaration  RipGraphWindow(X1,Y1,X2,Y2 : Integer);
  577.  
  578.   Example      Procedure Dummy;
  579.                Begin
  580.                  RipGraphWindow(0,0,640,200);     {set top 1/2 of scrn grafx}
  581.                End;
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591. ══════════════════════════════════════════════════════════════════════════════
  592. RipTools For Turbo Pascal 6.0 and 7.0
  593.  
  594.  
  595.  
  596. █ RipTools Unit Procedures Explained
  597. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  598.  
  599.  
  600. RipResetWindows                                                   Procedure
  601. ───────────────────────────────────────────────────────────────────────────
  602.   Function     This procedure will reset both the Text and Graphics Windows
  603.                to full screen, and will home the text cursor to the top left
  604.                hand corner.
  605.  
  606.   Declaration  RipResetWindow;
  607.  
  608.   Example      Procedure ExitMyProgram;
  609.                Begin
  610.                  RipResetWindows;       {CleanUp}
  611.                End;
  612.  
  613.  
  614. RipClrTextWindow                                                  Procedure
  615. ───────────────────────────────────────────────────────────────────────────
  616.   Function     The RipClrWindow procedure will clear the TextWindow and home
  617.                the text cursor to the top left corner of the defined window.
  618.  
  619.   Declaration  RipClrTextWindow;
  620.  
  621.   Example      Program MyProgram;
  622.                Begin
  623.                  RipTextWindow(0,0,80,25,1,2);
  624.                  RMWriteLn('This is only a test. Press the Enter Key.');
  625.                  Repeat
  626.                  Until RMReadKey=#13;
  627.                  RipClrTextWindow;
  628.                End.
  629.  
  630. RipClrGraphWindow                                                 Procedure
  631. ───────────────────────────────────────────────────────────────────────────
  632.   Function     This procedure will clear the current graphics window, while
  633.                not affecting the current text window. The graphics pointer
  634.                will be homed to the top left hand corner.
  635.  
  636.   Declaration  RipClrGraphWindow;
  637.  
  638.   Example      Program MyProgram;
  639.                Begin
  640.                  RipGraphWindow(0,0,640,340);
  641.                  RipClrGraphWindow;
  642.                  ...
  643.                End.
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657. ══════════════════════════════════════════════════════════════════════════════
  658. RipTools For Turbo Pascal 6.0 and 7.0
  659.  
  660.  
  661.  
  662. █ RipTools Unit Procedures Explained
  663. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  664.  
  665. RipGotoXY                                                         Procedure
  666. ───────────────────────────────────────────────────────────────────────────
  667.   Function     The RipGotoXY positions the Text Cursor in the current Text
  668.                window to the X,Y positions you pass to the procedure.
  669.  
  670.   Declaration  RipGotoXY(X,Y : Integer);
  671.  
  672.   Example      Program MyProgram;
  673.                Var Txt : String;
  674.                Begin
  675.                  Txt:='Hello World';
  676.                  RipTextWindow(0,0,80,25,1,2);
  677.                  RipGotoXY(40-(Length(Txt) Div 2),12);
  678.                  RMWrite(Txt);
  679.                End.
  680.  
  681.  
  682. RipMoveXY                                                         Procedure
  683. ───────────────────────────────────────────────────────────────────────────
  684.   Function     This procedure is simular to the GotoXY procedure except it
  685.                will position the graphics cursor instead.
  686.  
  687.   Declaration  RipMoveXY(X,Y : Integer);
  688.  
  689.   Example      Program MyProgram;
  690.                Begin
  691.                  RipGraphWindow(0,0,600,300);
  692.                  RipClrGraphWindow;
  693.                  RipTextStyle(Triplex,0,4);
  694.                       RipPutText('This is a test');
  695.                  RipMoveXY(100,100);
  696.                  RipPutText('This text is at a different location.');
  697.                End.
  698.  
  699.  
  700. RipHomeTextCursor                                                 Procedure
  701. ───────────────────────────────────────────────────────────────────────────
  702.   Function     The RipHomeTextCursor will move the text cursor in the current
  703.                text window to the top left hand corner of it's window, All
  704.                text that my be in the window is not erased.
  705.  
  706.   Declaration  RipHomeTextCursor;
  707.  
  708.   Example      Procedure MyProc;
  709.                Begin
  710.                  RipTextWindow(0,0,80,11,1,2);
  711.                  RMWrite('This is  a test, Press enter to continue.');
  712.                  RipHomeTextCursor;
  713.                End;
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723. ══════════════════════════════════════════════════════════════════════════════
  724. RipTools For Turbo Pascal 6.0 and 7.0
  725.  
  726.  
  727.  
  728. █ RipTools Unit Procedures Explained
  729. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  730.  
  731. RipEraseEOL                                                       Procedure
  732. ───────────────────────────────────────────────────────────────────────────
  733.   Function     This procedure will erase the current text line from the
  734.                current cursor position to the rightmargin of the current
  735.                defined text window.
  736.  
  737.   Declaration  RipEraseEOL;
  738.  
  739.   Example      Program MyProgram;
  740.                Begin
  741.                  RipGotoXY(1,2); RMWrite('WHAT IS THIS............');
  742.                  RipGotoXY(14,2); RipEraseEOL;
  743.                End;
  744.  
  745.  
  746.  
  747.  
  748. RipWriteMode                                                      Procedure
  749. ───────────────────────────────────────────────────────────────────────────
  750.   Function     In normal mode, things are drawn in the current drawing color
  751.                over top of whatever is in the graphics viewport.  This is the
  752.                typical mode of operation in a GUI environment.
  753.  
  754.                In the XOR mode, instead of changing each pixel to the current
  755.                drawing color, the pixel is inverted (black changes to white,
  756.                red to green, etc.).  Drawing the same item a second time
  757.                erases it completely.  This mode is useful for drawing
  758.                something temporarily, or for animation.  The Rubber Band mode
  759.                of most paint programs uses a mode like this.
  760.  
  761.                Mode  Description
  762.                ────┬─────────────────────────────────
  763.                00  │ Normal drawing mode (overwrite)
  764.                01  │ XOR (complimentary) mode
  765.  
  766.   Declaration  RipWriteMode(Mode : Byte);
  767.  
  768.   Example      RipWriteMode(0);
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789. ══════════════════════════════════════════════════════════════════════════════
  790. RipTools For Turbo Pascal 6.0 and 7.0
  791.  
  792.  
  793.  
  794. █ RipTools Unit Procedures Explained
  795. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  796.  
  797. RipPutText                                                        Procedure
  798. ───────────────────────────────────────────────────────────────────────────
  799.   Function     The RipPutText procedure display a graphics string in the
  800.                graphics window. It uses the current settings set by the
  801.                RipTextStyle.
  802.  
  803.   Declaration  RipPutText(TxtStr : String);
  804.  
  805.   Example      Program MyProg;
  806.                Begin
  807.                  RipTextStyle(2,0,4);
  808.                  RipPutText('This is a test');
  809.                End.
  810.  
  811.  
  812.  
  813. RipPutTextXY                                                      Procedure
  814. ───────────────────────────────────────────────────────────────────────────
  815.   Function     This procedure is exactly like RipPutText except that you can
  816.                specify the X,Y location of where the string will be displayed
  817.                I will display the string using the current settings set by
  818.                the RipTextStyle command.
  819.  
  820.   Declaration  RipPutTextXY(X,Y : Integer; TxtStr : String);
  821.  
  822.   Example      Program MyProg;
  823.                Begin
  824.                 ...
  825.                 RipPutTextXY(100,100,'This is a test.');
  826.                 ...
  827.                End.
  828.  
  829.  
  830. RipSetColor                                                       Procedure
  831. ───────────────────────────────────────────────────────────────────────────
  832.   Function     Use this procedure to select the current drawing color.
  833.  
  834.   Declaration  RipSetColor(C : Byte);
  835.  
  836.   Example      Program MyProg;
  837.                Begin
  838.                  RipGraphWindow(0,0,640,350);
  839.                  RipSetColor(14);                       {Yellow}
  840.                  RipLine(0,0,640,350);                  {Draw a diag. Line}
  841.                End.
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855. ══════════════════════════════════════════════════════════════════════════════
  856. RipTools For Turbo Pascal 6.0 and 7.0
  857.  
  858.  
  859.  
  860. █ RipTools Unit Procedures Explained
  861. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  862.  
  863. RipTextStyle                                                      Procedure
  864. ───────────────────────────────────────────────────────────────────────────
  865.   Function     Using this procedure will effect how the RipPutText/XY commands
  866.                will display their strings onto the display. You can set the
  867.                font, the direction the font will display, and the point size
  868.                of the font.
  869.  
  870.   Declaration  RipTextStyle(Font, Direction, Size : Integer);
  871.  
  872.   Remarks
  873.             FONT CONSTANTS:
  874.  
  875.             Constant     Value  Desctiption
  876.             ─────────────┬────┬──────────────────────────────────────────
  877.             Default      │ 0  │  Default 8x8 BitMapped Graphics Font
  878.             Triplex      │ 1  │  Triplex Scalable Graphics Font
  879.             Small        │ 2  │  SmallFont Scalable Graphics Font
  880.             SansSerif    │ 3  │  SansSerif Scalable Graphics Font
  881.             Gothic       │ 4  │  Gothic(old english) Scalable Grafx Font
  882.             Script       │ 5  │  Script Scalable Graphics Font
  883.             Simplex      │ 6  │  Simplex Scalable Graphics Font
  884.             TriplexScrip │ 7  │  Triplex Script Scalable Graphics Font
  885.             Complex      │ 8  │  Complex Scalable Graphics Font
  886.             European     │ 9  │  European Scalable Graphics Font
  887.             Bold         │ 10 │  Bold Scalable Graphics Font
  888.  
  889.  
  890.             DIRECTION PARAMETER
  891.             ───┬───────────────
  892.              0 │ Horizontal
  893.              1 │ Vertical
  894.  
  895.             SIZE PARAMETER                 SIZE PARAMETER
  896.             ───┬──────────────────────────┬───┬──────────────────
  897.              1 │ Normal default size (x4) │ 2 │ x2 Magnification
  898.              3 │ x3 Magnification         │ 4 │ x4 Magnification
  899.              5 │ x5 Magnification         │ 6 │ x6 Magnification
  900.              7 │ x7 Magnification         │ 8 │ x8 Magnification
  901.              9 │ x9 Magnification         │10 │ x10 Magnification
  902.  
  903.    Example     Program MyProg;
  904.                Begin
  905.                 ...
  906.                  RipTextStyle(Triplex,0,1);
  907.                 ...
  908.                End.
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921. ══════════════════════════════════════════════════════════════════════════════
  922. RipTools For Turbo Pascal 6.0 and 7.0
  923.  
  924.  
  925.  
  926. █ RipTools Unit Procedures Explained
  927. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  928. RipPutPixel                                                       Procedure
  929. ───────────────────────────────────────────────────────────────────────────
  930.   Function     The RipPutPixel will put place a pixel at the given X,Y
  931.                location, using the current drawing color. This method of
  932.                drawing is not highly recommended because of the length of
  933.                time it takes to draw the many pixels and has been placed
  934.                here for completness only.
  935.  
  936.   Declaration  RipPutPixel(X,Y : Integer);
  937.  
  938.        Sample       Procedure StarField;
  939.                Var Loop : Integer;
  940.                Begin
  941.                  For Loop:=1 to 100 Do
  942.                      Begin
  943.                        RipSetColor(Random(14+1));
  944.                        RipPutPixel(Random(638)+1,Random(338)+1);
  945.                      End;
  946.                End;
  947.  
  948.  
  949. RipLine                                                           Procedure
  950. ───────────────────────────────────────────────────────────────────────────
  951.   Function Rip     Draws a line between (X1,Y1) and (X2,Y2) points, using
  952.                the current drawing color and line style.
  953.  
  954.   Declaration  RipLine(X1,Y1,X2,Y2: Integer);
  955.  
  956.   Sample       Procedure Dummy;
  957.                Begin
  958.                  RipLine(0,0,640,300);
  959.                End;
  960.  
  961.  
  962. RipRectangle                                                      Procedure
  963. ───────────────────────────────────────────────────────────────────────────
  964.   Function     Draws a rectanglar region, using current drawing color and
  965.                line style.
  966.  
  967.   Declaration  RipRectangle(X1,Y1,X2,Y2);
  968.  
  969.   Example      Procedure Dummy;
  970.                Begin
  971.                  RipRectangle(10,10,50,40);
  972.                End;
  973.  
  974.    
  975. RipBar                                                            Procedure
  976. ───────────────────────────────────────────────────────────────────────────
  977.   Function     Draws a Filled rectanglar region, using current drawing color
  978.                and FillStyle.
  979.  
  980.   Declaration  RipBar(X1,Y1,X2,Y2);
  981.  
  982.   Example      Procedure Dummy;
  983.                Begin
  984.                  RipBar(10,10,50,40);
  985.                End;
  986.  
  987. ══════════════════════════════════════════════════════════════════════════════
  988. RipTools For Turbo Pascal 6.0 and 7.0
  989.  
  990.  
  991.  
  992. █ RipTools Unit Procedures Explained
  993. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  994. RipCircle                                                         Procedure
  995. ───────────────────────────────────────────────────────────────────────────
  996.   Function     Draws a circular region using the current drawing color and
  997.                line style.
  998.  
  999.   Declaration  RipCircle(X,Y,Radius : Integer);
  1000.  
  1001.   Sample       Procedure Dummy;
  1002.                Begin
  1003.                  RipCircle(100,100,50);
  1004.                End;
  1005.  
  1006.  
  1007. RipOval                                                           Procedure
  1008. ───────────────────────────────────────────────────────────────────────────
  1009.   Function     Draws an Oval region using the current drawing color and
  1010.                line styles.
  1011.  
  1012.   Declaration  RipOval(X,Y,StartAngle,EndAngle,XRadius,YRadius : Integer);
  1013.  
  1014.   Sample       Procedure Dummy;
  1015.                Begin
  1016.                  RipOval(100,100,90,360,30,40);
  1017.                End;
  1018.  
  1019. RipFillOval                                                       Procedure
  1020. ───────────────────────────────────────────────────────────────────────────
  1021.   Function     Draws a Filled Oval using the current Fill Style and Fill
  1022.                color.
  1023.  
  1024.   Declaration  RipFillOval(X,Y,XRadius,YRadius : Integer);
  1025.  
  1026.   Sample       Procedure Dummy;
  1027.                Begin
  1028.                  RipFillOval(100,100,50,40);
  1029.                End;
  1030.  
  1031.  
  1032. RipArc                                                            Procedure
  1033. ───────────────────────────────────────────────────────────────────────────
  1034.   Function     Draws an Arc using the current drawing color and line style.
  1035.  
  1036.   Declaration  RipArc(X,Y,StartAngle, EndAngle, Radius : Integer);
  1037.  
  1038.   Sample       Procedure Dummy;
  1039.                Begin
  1040.                  RipArc(100,100,90,180,40);
  1041.                End;
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053. ══════════════════════════════════════════════════════════════════════════════
  1054. RipTools For Turbo Pascal 6.0 and 7.0
  1055.  
  1056.  
  1057.  
  1058. █ RipTools Unit Procedures Explained
  1059. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1060. RipOvalArc                                                        Procedure
  1061. ───────────────────────────────────────────────────────────────────────────
  1062.   Function     Draws an Oval Arc using the current drawing color and line
  1063.                style.
  1064.  
  1065.   Declaration  RipOvalArc(X,Y,StartAngle,EndAngle,XRadius, YRadius : Interg);
  1066.  
  1067.   Sample       Procedure Dummy;
  1068.                Begin
  1069.                  RipOvalArc(X,Y,0,90,40,100);
  1070.                End;
  1071.  
  1072.  
  1073.  
  1074. RipPieSlice                                                       Procedure
  1075. ───────────────────────────────────────────────────────────────────────────
  1076.   Function     Draws a PieSlice region using the current line style and 
  1077.                current drawing color.
  1078.  
  1079.   Declaration  RipPieSlice(X,Y,StartAngle,EndAngle,Radius : Integer);
  1080.  
  1081.   Sample       Procedure Dummy;
  1082.                Begin
  1083.                  RipPieSlice(100,100,0,80,20);
  1084.                End;
  1085.                
  1086. RipOvalPieSlice                                                  Procedure
  1087. ───────────────────────────────────────────────────────────────────────────
  1088.   Function     Draws an Oval PieSlice region using the current line style
  1089.                and current drawing color.
  1090.  
  1091.   Declaration  RipOvalPieSlice(X,Y,StartAngle,EndAngle,XRadius,
  1092.                                YRadius : Integer);
  1093.  
  1094.   Sample       Procedure Dummy;
  1095.                Begin
  1096.                  RipOvalPieSlice(100,100,0,90,40,60);
  1097.                End;  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119. ══════════════════════════════════════════════════════════════════════════════
  1120. RipTools For Turbo Pascal 6.0 and 7.0
  1121.  
  1122.  
  1123.  
  1124. █ RipTools Unit Procedures Explained
  1125. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1126. RipBezier                                                        Procedure
  1127. ───────────────────────────────────────────────────────────────────────────
  1128.   Function     Draws a Bezier curve using the current drawing color and 
  1129.                line style. You must enter the the number of lines you want
  1130.                to make up the curve, the less the number count is the less
  1131.                resolution the curve will have, and the more the number count
  1132.                is, the higher the resolution of the curve.
  1133.  
  1134.   Declaration  RipBezier(X1,Y1,X2,Y2,X3,Y3,X4,Y4, Count : Integer);
  1135.  
  1136.   Sample       Procedure RoundedCorners;
  1137.                Begin
  1138.                  RipBezier(10,10,40,10,10,50,40,50,5);
  1139.                End;
  1140.  
  1141.  
  1142. RipPoly                                                          Procedure
  1143. ───────────────────────────────────────────────────────────────────────────
  1144.   Function     Draws a polygon shaped region, the shape will automatically
  1145.                connect the first (X,Y) points with the last (X,Y) Points.
  1146.                in order to use this procedure you must first define your
  1147.                polygon points by Assigning the X and Y cooranates using 
  1148.                the Global Varible: POLYPOINTS. RipTools will allow upto
  1149.                1000 X,Y point locations to be defined.
  1150.  
  1151.   Declaration  RipPoly(NumberOfPoints : Integer);
  1152.  
  1153.   Sample       Procedure Dummy;
  1154.                Begin
  1155.                  PolyPoints[1].X:=10;
  1156.                  PolyPoints[1].Y:=15;
  1157.                  PolyPoints[2].X:=20;   {define polygon, makes a triangle}
  1158.                  PolyPoints[2].Y:=30;
  1159.                  RipPoly(2);
  1160.                End;      
  1161.                
  1162. RipFillPoly                                                      Procedure
  1163. ───────────────────────────────────────────────────────────────────────────
  1164.   Function     Draws a filled polygon shaped region, the shape will auto-
  1165.                matically connect the first (X,Y) points with the last (X,Y) 
  1166.                points, assigned by the POLYPOINTS record varible. RipTools 
  1167.                allows you to creat 1000 (X,Y) coornates to be defined.
  1168.                The filled polygon uses the current fill style and fill color. 
  1169.  
  1170.   Declaration  RipFillPoly(NumberOfPoints : Integer);
  1171.  
  1172.   Sample       Procedure Dummy;
  1173.                Begin
  1174.                  RipFillStyle(1,2);
  1175.                  PolyPoints[1].X:=10;
  1176.                  PolyPoints[1].Y:=15;
  1177.                  PolyPoints[2].X:=20;   {define polygon, makes a triangle}
  1178.                  PolyPoints[2].Y:=30;
  1179.                  RipPoly(2);
  1180.                End;      
  1181.                
  1182.  
  1183.  
  1184.  
  1185. ══════════════════════════════════════════════════════════════════════════════
  1186. RipTools For Turbo Pascal 6.0 and 7.0
  1187.  
  1188.  
  1189.  
  1190. █ RipTools Unit Procedures Explained
  1191. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1192. RipPolyLine                                                      Procedure
  1193. ───────────────────────────────────────────────────────────────────────────
  1194.   Function     The RipLine procedure is simular to the RipPoly procedure
  1195.                except that the beggin (X,Y) points are NOT connected to the
  1196.                ending (X,Y) points, giving you an open polygon rather than
  1197.                a closed polygon. The procedure is executed excatly like the
  1198.                RipPoly procedure where you assign the (X,Y) points through
  1199.                the POLYPOINTS record.
  1200.  
  1201.   Declaration  RipPolyLine(NumberOfPoints : Integer);
  1202.  
  1203.   Sample       Procedure Sample;
  1204.                Begin
  1205.                  PolyPoints[1].X:=10;
  1206.                  PolyPoints[1].Y:=10;
  1207.                  PolyPoints[2].X:=10;
  1208.                  PolyPoints[2].Y:=20;
  1209.                  PolyPoints[3].X:=10;
  1210.                  PolyPoints[3].Y:=0;
  1211.                  RipPolyLine(3);
  1212.                End;
  1213.  
  1214. RipFloodFill                                                     Procedure
  1215. ───────────────────────────────────────────────────────────────────────────
  1216.   Function     Fills a region of the screen using the current FillStyle and
  1217.                Fill Color.
  1218.  
  1219.   Declaration  RipFloodFill(X,Y,BorderColor : Integer);
  1220.  
  1221.    Sample      Procedure Sample;
  1222.                Begin
  1223.                  RipFillStyle(2,4);
  1224.                  RipFloodFill(10,10,0);
  1225.                End;
  1226.  
  1227.  
  1228. RipFillStyle                                                     Procedure
  1229. ───────────────────────────────────────────────────────────────────────────
  1230.   Function     The RipFillStyle is used by any of the RipTools that Fills
  1231.                a region of the screen. i.e. RipBar, RipFillPoly, RipFloodFill.
  1232.                It sets the current fill pattern and current fill color.
  1233.  
  1234.   Declaration  RipFillStyle(Pattern, Colour : Integer);
  1235.  
  1236.   Sample       Procedure Sample;
  1237.                Begin
  1238.                  RipFillStyle(0,1);          {solid blue}
  1239.                  RipBar(100,100,500,200);    {draw a solid blue bar}
  1240.                End;
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251. ══════════════════════════════════════════════════════════════════════════════
  1252. RipTools For Turbo Pascal 6.0 and 7.0
  1253.  
  1254.  
  1255.  
  1256. █ RipTools Unit Procedures Explained
  1257. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1258. RipMouseField                                                    Procedure
  1259. ───────────────────────────────────────────────────────────────────────────
  1260.   Function     Creates a mouse field region on the screen, so that when a
  1261.                user clicks a mouse button while in that area, a HostString
  1262.                will be sent to execute a command that that region represents.
  1263.                
  1264.  
  1265.   Declaration  RipMouseField(FieldNumber,X1,Y1,X2,Y2,Clicked, Clr: Integer;
  1266.                              TxtStr : String);
  1267.  
  1268.   Remarks      Clicked
  1269.                ───┬─────────────────────────────────────────────────
  1270.                0  │ Do not invert selected region.     
  1271.                1  │ Region will be inverted giving the user a visual 
  1272.                   │ responce that the area has been clicked on.
  1273.           
  1274.                
  1275.                Clr
  1276.                ───┬──────────────────────────────────────────────────────
  1277.                 0 │ Do not Zoom, Clear and Reset window to full size.
  1278.                 1 │ Zoom window to full size, reset and clear window also
  1279.  
  1280.  
  1281.           Note: The FieldNumber Parameter is used for upward compatiblity
  1282.                 with older version of RipScrip commands. You sould leave
  1283.                 this number at Zero(0). if you are using RipTools with a
  1284.                 RipTerminal that is older than version 1.54 of the RipScrip
  1285.                 standard(not that there is one) you will need to place a
  1286.                 MouseField number here so it can identify it from other the
  1287.                 other mouse fields you may want to create.
  1288.  
  1289.   Sample       Procedure Sample;
  1290.                Begin
  1291.                  RipMouseField(0,10,10,100,30,1,0,'C^m'); {continue area}
  1292.                End;
  1293.  
  1294.  
  1295.  
  1296. RipKillMouseFields                                               Procedure
  1297. ───────────────────────────────────────────────────────────────────────────
  1298.   Function     This procedure will destroy ALL the mouse fields that you 
  1299.                have created.
  1300.  
  1301.   Declaration  RipKillMouseFields;
  1302.  
  1303.   Sample       Procedure CleanUp;
  1304.                Begin
  1305.                  RipKillMouseFields;
  1306.                End;
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317. ══════════════════════════════════════════════════════════════════════════════
  1318. RipTools For Turbo Pascal 6.0 and 7.0
  1319.  
  1320.  
  1321.  
  1322. █ RipTools Unit Procedures Explained
  1323. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1324. RipBeginTextRegion                                               Procedure
  1325. ───────────────────────────────────────────────────────────────────────────
  1326.   Function     This command defines a rectangular portion of the graphics 
  1327.                viewport that is to display text, usually a long stream of text. 
  1328.                Following this command should be a number of RIP_REGION_TEXT
  1329.                commands with the text to be displayed.
  1330.      
  1331.   Declaration  RipBeginTextRegion(X1,Y1,X2,Y2 : Integer);
  1332.  
  1333.   Sample       Program Sample;
  1334.                Begin
  1335.                  RipTextRegion(10,10,100,200);
  1336.                  ...
  1337.                  RipTextRegion(0,'This is a test...This is only a test.');
  1338.                  ...
  1339.                End.
  1340.  
  1341.  
  1342. RipTextRegion                                                    Procedure
  1343. ───────────────────────────────────────────────────────────────────────────
  1344.   Function     This procedure places a stream of text in a predefined text
  1345.                region that has been defined by the RipBeginTextRegion
  1346.                procedure.
  1347.  
  1348.   Declaration  RipTextRegion(Justify : Integer; TxtStr : String);
  1349.                
  1350.   Remarks      Justify
  1351.                ───────┬─────────────────────────────────────────────────────
  1352.                  0    │ Don't right/left justify.  Left-justify only
  1353.                  1    │ Perform right/left margin justification of this line 
  1354.                       │ of text. (centered)
  1355.                  
  1356.                      
  1357.   Sample       Program Sample;
  1358.                Begin
  1359.                  ...
  1360.                  RipTextRegion(0,'This is a test...');
  1361.                  ...
  1362.                End;
  1363.                End;
  1364.  
  1365.  
  1366. RipEndText                                                       Procedure
  1367. ───────────────────────────────────────────────────────────────────────────
  1368.   Function     This procedure destroys a defined text region defined by the
  1369.                RipBeginTextRegion procedure.
  1370.  
  1371.   Declaration  RipEndText;
  1372.  
  1373.   Sample       Procedure Sample;
  1374.                Begin
  1375.                 ...
  1376.                 RipEndText;
  1377.                 ...
  1378.                End;
  1379.  
  1380.  
  1381.  
  1382.  
  1383. ══════════════════════════════════════════════════════════════════════════════
  1384. RipTools For Turbo Pascal 6.0 and 7.0
  1385.  
  1386.  
  1387.  
  1388. █ RipTools Unit Procedures Explained
  1389. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1390. RipGetImage                                                      Procedure
  1391. ───────────────────────────────────────────────────────────────────────────
  1392.   Function     This procedure will copy an (X1,Y1) (X2,Y2) region of the
  1393.                screen onto the clipboard.
  1394.  
  1395.   Declaration  RipGetImage(X1,Y1,X2,Y2 : Integer);
  1396.  
  1397.   Sample       Procedure Sample;
  1398.                Begin
  1399.                  ...
  1400.                  RipGetImage(100,100,200,200);
  1401.                  ...
  1402.                End;
  1403.  
  1404. RipPutImage                                                      Procedure
  1405. ───────────────────────────────────────────────────────────────────────────
  1406.   Function     This procedure will paste an image that was copied onto the
  1407.                clipboard onto the screen at the (X,Y) coornates that you
  1408.                give.
  1409.  
  1410.   Declaration  RipPutImage(X,Y,PutMode : Integer);
  1411.  
  1412.   Remarks      PutMode
  1413.                ────┬─────────────────────────────────────────────────────────
  1414.                 00 │ Paste the image on-screen normally                 (COPY)
  1415.                 01 │ Exclusive-OR Image with the one already on screen  (XOR)
  1416.                 02 │ Logically OR Image with the one already on screen  (OR)
  1417.                 03 │ Logically AND Image with the one already on screen (AND) 
  1418.                 04 │ Pase the invers of the image on the screen         (NOT)
  1419.                    
  1420.   Sample       Procedure  Sample;
  1421.                Begin
  1422.                  ...
  1423.                  RipPutImage(10,10,0);
  1424.                  ...
  1425.                End;
  1426.  
  1427.  
  1428. RipSaveImage2Disk                                                Procedure
  1429. ───────────────────────────────────────────────────────────────────────────
  1430.   Function     This procedure saves the contents of the clipboard to a disk
  1431.                file.
  1432.   
  1433.   Declaration  RipSaveImage2Disk(FileName : String);
  1434.  
  1435.   Sample       Program Sample;
  1436.                Begin
  1437.                  ...
  1438.                  RipSaveImage2Disk('IMAGES.CLP');
  1439.                  ...
  1440.                End.
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449. ═════════════════════════════════════════════════════════════════════════
  1450. RipTools For Turbo Pascal 6.0 and 7.0
  1451.  
  1452.  
  1453.  
  1454. █ RipTools Unit Procedures Explained
  1455. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1456. RipLoadIcon                                                      Procedure
  1457. ───────────────────────────────────────────────────────────────────────────
  1458.   Function     This procedure load an ICON(clipboard file) from the disk
  1459.                drive and places it on the screen.
  1460.  
  1461.   Declaration  RipLoadIcon(X,Y,PutMode,Clp : Integer; FileName: String);
  1462.  
  1463.   Remarks      PutMode
  1464.                ────┬─────────────────────────────────────────────────────────
  1465.                 00 │ Paste the image on-screen normally                 (COPY)
  1466.                 01 │ Exclusive-OR Image with the one already on screen  (XOR)
  1467.                 02 │ Logically OR Image with the one already on screen  (OR)
  1468.                 03 │ Logically AND Image with the one already on screen (AND) 
  1469.                 04 │ Pase the invers of the image on the screen         (NOT)
  1470.  
  1471.                Clp
  1472.                ────┬─────────────────────────────────────────────────────────
  1473.                 00 │ Simply load the Icon and paste it on the screen.
  1474.                 01 │ Load the Icon and paste it on the screen & the clipboard.
  1475.  
  1476. RipButtonStyle                                                   Procedure
  1477. ───────────────────────────────────────────────────────────────────────────
  1478.   Function     This procedure is one of the most complicated of all the 
  1479.                procedures to use within the RipTool Unit. The RipButtonStyle
  1480.                sets the apperance and style of any mouse buttons that you
  1481.                may want to use within your Rip program. Follow close to the
  1482.                details given so you can understand better on how to use this
  1483.                procedure. After awhile you find it easier to use as you get
  1484.                familiar with how buttons are created. A suggestion is to 
  1485.                experiment alittle before you begin any serious prgramming.
  1486.  
  1487.   Declaration  RipButtonStyle(Width, Height, Orientation : Integer; 
  1488.                               Flags1 : Word; BevelSize, TxtColor, TxtBackGround,
  1489.                               Bright, Dark, Surface, GroupNumber, 
  1490.                               Flags2, UnderlineColor, CornerColor : Integer);
  1491.  
  1492.  
  1493.   Remarks      The <width> and (height) parameter defines the width and height
  1494.                of your button, if you set these values to zero(0) the buttons
  1495.                size will be determined by the (X1,Y1) (X2,Y2) parameters in
  1496.                the RipButton procedure below, other wise any value over zero(0)
  1497.                the size of the button will be what ever width and height you
  1498.                specify in these parameters.
  1499.  
  1500.                The <orientation> parameter controls the position of the 
  1501.                optional text label that you may want to have on the label.
  1502.                
  1503.                Orientation Values
  1504.                ───┬─────────────────────────────────────────────■
  1505.                00 │ Display label above button
  1506.                01 │ Display label to the left of button
  1507.                02 │ Display label in the center of the button
  1508.                03 │ Display label to the right of button
  1509.                04 │ Display label beneath the button
  1510.                    
  1511.                    
  1512.  
  1513.                     ( C O N T I N U E D   T O  N E X T  P A G E )
  1514.           
  1515. ═════════════════════════════════════════════════════════════════════════
  1516. RipTools For Turbo Pascal 6.0 and 7.0
  1517.  
  1518.  
  1519.  
  1520. █ RipTools Unit Procedures Explained
  1521. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1522. RipButtonStyle (continued)                                       Procedure
  1523. ───────────────────────────────────────────────────────────────────────────
  1524.   Remarks      The <flags1> parameter controls the different attributes the
  1525.                button you are creating will have. A button can one or more
  1526.                attributes assigned to it.
  1527.  
  1528.        Flags1         Value   Description of Attribute
  1529.        ─────────────┬───────┬───────────────────────────────────────────
  1530.        BClipboard   │     1 │ Clipboard Button Style Attribute
  1531.        BInvert      │     2 │ Invert Button, Button Style Attribute
  1532.        BResetScreen │     4 │ Reset Screen, Button Style Attribute
  1533.        BChiseled    │     8 │ Chiseled Special Effect, Button Attribute
  1534.        BRecessed    │    16 │ Recessed Special Effect, Button Attribute
  1535.        BDropShadow  │    32 │ Droped Shadow Special Effect Button Attr.
  1536.        BAutoStamp   │    64 │ AutoStamp to ClipBoard, Button Attribute
  1537.        BIcon        │   128 │ ICON Button, Button Style Attribute
  1538.        BPlain       │   256 │ PLAIN Button, Button Style Attribute
  1539.        BBevel       │   512 │ Beveled Special Effect, Button Attribute
  1540.        BMouse       │  1024 │ Mouse Button, Button Style Attribute
  1541.        BUnderLine   │  2048 │ Underline Hot Key on Mouse Button, Attr.
  1542.        BHotIcons    │  4096 │ HotKey for Icons, Button Attribute
  1543.        BVerticalAdj │  8192 │ Vertical Adjust, Button Style Attribute
  1544.        BRadioGroup  │ 16384 │ Button Belongs to a Radio Group, Attr.
  1545.        BSunken      │ 32768 │ Sunken Special Effect, Button Attribute
  1546.                      
  1547.        i.e: If you want to have a PLAIN button with a beveled edge and you
  1548.             also want the button to have a CHISELED special effect then
  1549.             you could create that buton's attribute like the following:
  1550.  
  1551.             MyFlags:=BPlain+BBevel+BChiseled;
  1552.                            or
  1553.             MyFlags:=256+512+8;
  1554.  
  1555.             either of the two examples above will create the button mentioned.
  1556.         
  1557.       The <bevelsize> parameter is used to tell the button how big you want
  1558.       a beveled edge on the button, if the BBevel<512> Attribute is set on.
  1559.       this parameter has a value from 0(no bevel) to 10(max bevel size)
  1560.  
  1561.       The <textcolor> parameter tell the button what color you want the text
  1562.       label on the button to be, you can choose of 16 different colors.
  1563.  
  1564.       The <textbackground> parameter tell the button what background color
  1565.       you want. The background color is used to shadow the text label.
  1566.  
  1567.       The <bright> parameter is the color for the top edge of the button.
  1568.       
  1569.       The <dark> parameter is the color for the bottom edge of the button.
  1570.  
  1571.       The <surface> parameter is the color of the button when displayed
  1572.        
  1573.       The <GroupNumber> specifies what button number the button is, if you
  1574.       are grouping a set of buttons together like Radio Buttons or Check Boxes.
  1575.       so when you activate one button in the group it deactivates the others.
  1576.       Great for option toggles in setup portions of your programs.
  1577.  
  1578.  
  1579.                     ( C O N T I N U E D   T O  N E X T  P A G E )
  1580.           
  1581. ═════════════════════════════════════════════════════════════════════════
  1582. RipTools For Turbo Pascal 6.0 and 7.0
  1583.  
  1584.  
  1585.  
  1586. █ RipTools Unit Procedures Explained
  1587. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1588. RipButtonStyle (continued)                                       Procedure
  1589. ───────────────────────────────────────────────────────────────────────────
  1590.   Remarks      The <flags2> parameter is used to tell the button addition  
  1591.                information about the buttons behavior.
  1592.  
  1593.      Flags2 Values and which can be active with certin Flags1 Attributes.
  1594.  
  1595.      Val  Description of Flags Field #2     Icon Clip Plain Mouse No-Mouse
  1596.     ────┬──────────────────────────────────┬────┬────┬─────┬─────┬────────
  1597.       1 │ Button is in a check box group   │ Y  │ Y  │  Y  │  Y  │  N 
  1598.       2 │ Highlight hotkey character       │ Y  │ Y  │  Y  │  Y  │  N 
  1599.       4 │ Explode (zoom out when clicked)  │ Y  │ Y  │  Y  │  Y  │  N 
  1600.       8 │ Left Justify Label (top/ctr/btm) │ Y  │ Y  │  Y  │  Y  │  Y 
  1601.      16 │ Right Justify Label (top/ctr/btm)│ Y  │ Y  │  Y  │  Y  │  Y 
  1602.                                                                          
  1603.  
  1604.      The <underlinecolor> parameter, tells the button what color you want 
  1605.      the underline and Hotkey to be.
  1606.  
  1607.      The <cornercolor> parameter allows you to change the color of the
  1608.      corners of the button, making the button appear 3D.
  1609.  
  1610.   Sample       Program MyProg;
  1611.                Var MyFlags : WORD;
  1612.                Begin
  1613.                  ...
  1614.                  MyFlags:=BPlain+BBeveled+BChiseled;
  1615.                  RipButtonStyle(100,40,0,MyFlags,3,14,0,15,8,7,0,2+4,4,7);
  1616.                  RipButton(10,10,0,0,'E',1,'','ENTER','^M');
  1617.                  ...
  1618.                End;
  1619.  
  1620. RipButton                                                        Procedure
  1621. ───────────────────────────────────────────────────────────────────────────
  1622.   Function     Places a button on the screen, using the current settings
  1623.                set by the RipButtonStyle procedure (see above).
  1624.  
  1625.   Declaration  RipButton(X1,Y1,X2,Y2: Integer; HotKey: String; Flags:Integer;
  1626.                          IconName, TextLabel, HostCmd: String);
  1627.  
  1628.   Remarks      If you have specified the <width> and <height> of the button
  1629.                in the RipButtonStyle procedure then the (X2,Y2) parameters
  1630.                are ignored and are computed using the <width> and <height>
  1631.                values you gave.
  1632.  
  1633.                The <hotkey> parameter MUST BE a single character if you need
  1634.                to represent the hotkey as a control ASCII character then
  1635.                you must use the CHR() function or represent the character 
  1636.                using the #ASCII_NUMBER (i.e. #13 = carrage return).
  1637.  
  1638.                The <flags> parameter tells the button how you want the
  1639.                button displayed. 
  1640.      
  1641.                Values  Description
  1642.                ──────┬─────────────────────────────────────────────
  1643.                   1  │ Draw button as already selected
  1644.                   2  │ Button is "default" when <ENTER> is pressed
  1645.                      
  1646. (continues to next page)
  1647. ═════════════════════════════════════════════════════════════════════════
  1648. RipTools For Turbo Pascal 6.0 and 7.0
  1649.  
  1650.  
  1651.  
  1652. █ RipTools Unit Procedures Explained
  1653. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1654. RipButton     (continued)                                        Procedure
  1655. ───────────────────────────────────────────────────────────────────────────
  1656.   Remarks      The <iconname> parameter is used to specify the Icon name
  1657.                you want displayed. If your button is NOT an Icon type button
  1658.                then you can use ''(null string) to ignore the Icon name. 
  1659.  
  1660.                NOTE: DO NOT Specify a path with the IconName, only the name
  1661.                      of the icon should be given! Otherwise an error will 
  1662.                      occure.                     
  1663.      
  1664.                The <textlabel> parameter is the Text Label you want to have
  1665.                displayed with the button. If you do not want a text label
  1666.                then you can use the null string('') as your parameter option
  1667.                and your text label will be ignored.
  1668.  
  1669.                The <hostcmd> parameter is the Host String Command that is 
  1670.                sent to the host when the button has been pressed. You can
  1671.                enter the null string('') as the parameter to tell the button
  1672.                not to send a Host command string back to the host.
  1673.  
  1674. Sample         Program MyProg;
  1675.                Begin
  1676.                  ...
  1677.                  RipButton(10,10,0,0,'C',1,'','Continue','^M');
  1678.                  ...
  1679.                End.
  1680.  
  1681.  
  1682. RipScrollRegion                                                  Procedure
  1683. ───────────────────────────────────────────────────────────────────────────
  1684.   Function     This procedure will scroll an (X1,Y1) (X2,Y2) region, either
  1685.                Up or Down depending on the location of the destination(Y) 
  1686.                parameter. This procedure only moves the region to the 
  1687.                destination specified, so you are going to have to cleanup 
  1688.                the effected areas. Note: This is the only procedure in the
  1689.                RipTools Unit that will effect the entire screen, including
  1690.                Text windows. This procedure is makes a great special effect
  1691.                for clearing the screen.
  1692.  
  1693.   Declaration  RipScrollRegion(X1,Y1,X2,Y2,DestLine : Integer);
  1694.  
  1695.   Sample       Procedure CoolClr;
  1696.                Var FirstTime : Boolean;
  1697.                Begin
  1698.                  FirstTime:=True;
  1699.                  For Loop:=340 downto 0 Do
  1700.                      Begin
  1701.                        RipScrollRegion(0,10,600,350,0);
  1702.                        If FirstTime then
  1703.                           Begin
  1704.                             RipFillStyle(1,0);
  1705.                             RipBar(0,340,600,350);
  1706.                             FirsTime:=False; 
  1707.                           End;
  1708.                      End;
  1709.                End;
  1710.  
  1711.                
  1712.  
  1713. ═════════════════════════════════════════════════════════════════════════
  1714. RipTools For Turbo Pascal 6.0 and 7.0
  1715.  
  1716.  
  1717.  
  1718. █ RipTools Unit Procedures Explained
  1719. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1720. RipPlayBackScene                                                 Procedure
  1721. ───────────────────────────────────────────────────────────────────────────
  1722.   Function     This procedure will play-back a .RIP Scene on the users terminal
  1723.                just specify the filename that you want re-played. DO NOT 
  1724.                INCLUDE THE PATH TO THE .RIP File.
  1725.  
  1726.   Declaration  RipPlayBackScene(FileName : String);
  1727.  
  1728.   Sample       RipPlayBackScene('TEST.RIP');
  1729.  
  1730.      
  1731. RipEnterBlockMode                                                Procedure
  1732. ───────────────────────────────────────────────────────────────────────────
  1733.   This procedure is for completness only. When you call this procedure ALL
  1734. RIP commands are ignored and the users terminal will send the init string for
  1735. starting up protocols. i.e ZMODEM. this is useful when you want to upload a
  1736. group of Icons or a .RIP file to the users storage drive. RipTools does not 
  1737. have any kind of MODEM Protocols included these will have to be supplied by you.
  1738.  
  1739.   Declaration  RipEnterBlockMode(Mode,ProtoCol,FileType : Integer; 
  1740.                                  FileName : String);
  1741.  
  1742.   Remarks      The <mode> parameter specifies the type of transfer you
  1743.                wish to initiate, upload or download. If you specify download
  1744.                you must specify a filename.
  1745.  
  1746.                MODE  Desctiption
  1747.                ────┬───────────────────────────────────────────
  1748.                  0 │ Download Mode, Filename parameter Required
  1749.                  1 │ Upload Mode, no file name required.
  1750.                    
  1751.                The <protocol> parameter specifies what protocol you want to
  1752.                upload or download the given file.
  1753.  
  1754.                Value  Protocol                   Filename Required?
  1755.                ─────┬───────────────────────────┬──────────────────
  1756.                  0  │  Xmodem (checksum)        │ Yes
  1757.                  1  │  Xmodem (CRC)             │ Yes
  1758.                  2  │  Xmodem-1K                │ Yes
  1759.                  3  │  Xmodem-1K (G)            │ Yes
  1760.                  4  │  Kermit                   │ Yes
  1761.                  5  │  Ymodem (batch)           │ No
  1762.                  6  │  Ymodem-G                 │ No
  1763.                  7  │  Zmodem (crash recovery)  │ No
  1764.  
  1765.                The <file_type> parameter determines what type of files are
  1766.                to be received during the block transfer.  These are the valid
  1767.                parameters:
  1768.  
  1769.                Value   Description of Block Transfer Contents
  1770.                ---------------------------------------------------------------
  1771.                  0     RIP file sequence (display it)
  1772.                  1     RIP file sequence (store them)
  1773.                  2     ICN file sequence (store them in proper directories)
  1774.                  3     HLP file sequence (store it, and auto-load if needed)
  1775.                  4     COMPOSITE DYNAMIC file sequence (batch protocols only)
  1776.                  5     ACTIVE DYNAMIC file sequence (batch protocols only)
  1777.  
  1778.  
  1779. ═════════════════════════════════════════════════════════════════════════
  1780. RipTools For Turbo Pascal 6.0 and 7.0
  1781.  
  1782.  
  1783.  
  1784. █ RipTools Unit Procedures Explained
  1785. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1786. RipComplete                                                      Procedure
  1787. ───────────────────────────────────────────────────────────────────────────
  1788.   Function     This procedure tells the RipTerminal that all RipScrip commands
  1789.                have been sent and are read to be executed. Most Ripscrip
  1790.                terminals have a built in "TIME-OUT" feature that will 
  1791.                automatically send this command, however do not expect it, and
  1792.                to make sure that your program is complete we recommend that
  1793.                after sending all the rip information to the users terminal
  1794.                you should execute this procedure. This procedure sends
  1795.                three of the RipComplete commands to insure the terminal 
  1796.                program recieves the message.
  1797.  
  1798.   Declaration  RipComplete;
  1799.  
  1800.   Sample       Program MyRip;
  1801.                Begin
  1802.                 ...
  1803.  
  1804.                  {RipTool Commands}
  1805.  
  1806.                 ...
  1807.                 RipComplete;
  1808.                End.                          
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845. ═════════════════════════════════════════════════════════════════════════
  1846. RipTools For Turbo Pascal 6.0 and 7.0
  1847.  
  1848.  
  1849.  
  1850. █ RipTools Unit Functions Explained
  1851. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1852. Dec2Mega                                                         Function 
  1853. ───────────────────────────────────────────────────────────────────────────
  1854.   Function     Converts an Integer Number into a Base36 MegaNum. The returned
  1855.                result is a two character string.
  1856.  
  1857.   Declaration  Dec2Mega(Number : Integer) : String;
  1858.  
  1859.   Sample       Procedure Sample;
  1860.                Begin
  1861.                  ...
  1862.                  RMWrite(Dec2Mega(120));
  1863.                  ...
  1864.                End;
  1865.  
  1866.   
  1867. Word2Mega                                                        Function 
  1868. ───────────────────────────────────────────────────────────────────────────
  1869.   Function     Converts a word type into a Base36 MegaNum. The returned result
  1870.                is a four character string.
  1871.  
  1872.   Declaration  Word2Mega(Number : Word) : String;
  1873.  
  1874.   Sample       Procedure Sample;
  1875.                Begin
  1876.                  ...
  1877.                  RMWrite(Word2Mega($FE2A));
  1878.                  ...
  1879.                End; 
  1880.  
  1881.  
  1882.  
  1883.                                   REGISTRATION
  1884.                                   ------------
  1885.  
  1886.      Registration of RipTools is only $25.00.  Please use the  form in the
  1887.      file  REGISTER.FRM.  When you register RMDoor, you will receive a
  1888.      notice of verification and instructions on how to turn your shareware
  1889.      version of RipTools into a registered version.
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.