home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / rexxio46.zip / REXXIO.INF (.txt) < prev    next >
OS/2 Help File  |  2000-07-16  |  211KB  |  7,034 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. REXXIO Index ΓòÉΓòÉΓòÉ
  3.  
  4.  REXX I/O Library  Version 4.6 
  5.  
  6.  
  7.                             Contents 
  8.                             Version Notice 
  9.                             Introduction 
  10.                             Function List 
  11.                             Getting Started - Initialising REXXIO. 
  12.                             Section 01 File Functions. 
  13.                             Section 02 Directory Functions 
  14.                             Section 03 Search Functions 
  15.                             Section 04 Window Functions. 
  16.                             Section 05 Keyboard/Mouse Event Functions. 
  17.                             Section 06 Rexx Functions. 
  18.                             Section 07 Registry Functions. 
  19.                             Section 08 Global Stem Variable Functions. 
  20.                             Section 09 General Functions. 
  21.                             Section 10 Comms Functions. 
  22.                             Section 11 Event Functions. 
  23.                             Section 12 Internet Functions. 
  24.                             Section 13 Graphic Functions. 
  25.  
  26.  
  27. ΓòÉΓòÉΓòÉ 2. Introduction ΓòÉΓòÉΓòÉ
  28.  
  29.  Introduction 
  30.  
  31.  
  32.        REXXIO is a general REXX Input/Output library to aid general File I/O 
  33.       and Window/Keyboard/Mouse manipulation. 
  34.  
  35.        The version notice that pops up the first time REXXIO is used does not 
  36.       appear if "Modular And Integrated Design" is installed. The 
  37.       getrexxioversion function returns  the REXXIO version information. 
  38.  
  39.        * Functions with and asterisk after the function name require a licensed 
  40.       copy of "Modular And Integrated Design" to be installed. 
  41.  
  42.        Contents. 
  43.  
  44.  
  45. ΓòÉΓòÉΓòÉ 3. Function List ΓòÉΓòÉΓòÉ
  46.  
  47.  Function List 
  48.  
  49.  
  50.        Contents. 
  51.  
  52.        Getting Started - Initializing REXXIO 
  53.  
  54.        rexxioinit   Registers all REXXIO functions. 
  55.  
  56.        Section 01 File Functions 
  57.  
  58.        newfile   Creates new file NewFilename. 
  59.        removefile   Delete File Filename. 
  60.        copyfile   Copies Filename1 to Filename2. 
  61.        appendfile   Appends Filename1 to Filename2. 
  62.        copycontentsfile   Copies contents of Filename1 to Filename2. 
  63.        copytempfile   Copies Filename to a temporary file in temporary 
  64.       directory or Directory if specified. 
  65.        movefile   Moves OldFilename to NewFilename. 
  66.        reversefile   Reverses line order of all lines in Filename. 
  67.        getfilesize   Returns length of Filename. 
  68.        setfilesize   Sets Filename size to Size. 
  69.        getshortname   Gets short path form of a specified path. 
  70.        getfullpathname   Returns current directory plus Filename. 
  71.        getfilepart   Returns Filename part of Fully Qualified path\name. 
  72.        getdirpart   Returns Directory part of Fully Qualified path\name. 
  73.        findfile   Returns Fully Qualified path\name of File. 
  74.        getnolines   Gets number of lines in Filename. 
  75.        getlinepos   Gets position of line LineNumber in file Filename. 
  76.        getline   Gets contents of line LineNumber in file Filename. 
  77.        getlineatpos*   Gets contents of line at position in file Filename. 
  78.        getstring   Gets String from Filename at Position. 
  79.        insertstring   Inserts String into Filename at Position. 
  80.        insertstringcrlf   Inserts String plus cr/lf at Position in Filename. 
  81.        deletestring   Deletes Length chars at Position from Filename. 
  82.        insertline   Inserts line into Filename. 
  83.        deleteline   Deletes line from Filename. 
  84.        insertfile*   Insert Filename at a given point. 
  85.        newfilefromposition*   Creates new file NewFilename with data from 
  86.       Position. 
  87.        getnocsvcolumns*   Gets the number of columns in a CSV tab or comma 
  88.       delimited line. 
  89.        getcsvcolumn*   Gets the nth column entry from a CSV tab or comma 
  90.       delimited line. 
  91.        replacecsvcolumn*   Replaces the nth column entry into a CSV tab or 
  92.       comma delimited line. 
  93.        newtempfile*   Creates new temporary file. 
  94.        existfile*   Tests existance of a file. 
  95.        renamefile*   Rename a file. 
  96.        addquotestoline*   Add quotes to each end of a line of text. 
  97.        addsinglequotestoline*   Add single quotes to each end of a line of text 
  98.       and double up and single quotes within the line. 
  99.        adddoublequotestoline*   Add double quotes to each end of a line of text 
  100.       and double up and double quotes within the line. 
  101.        stripquotesfromline*   Strips quotes from each end of a line of text. 
  102.        getkeyfromcsvfilecol*   Gets unique key from column in CSV file. 
  103.        readfiletostem*   Reads a file into a stem variable. 
  104.        insertfilefromstem*   Inserts lines in to a file from a stem variable. 
  105.        inusefile*   Tests whether a file is is use. 
  106.        getcharatpos*   Gets character at position in file Filename. 
  107.        getwordatpos*   Gets word at position in file Filename. 
  108.        fixlinefeeds*   Replaces single line feeds with carriage return line 
  109.       feed. 
  110.        fixlinefeedsrememptylines*   Replaces single line feeds with carriage 
  111.       return line feed and removes empty lines. 
  112.        getfilereplacetext*   Replace all occurences of one string with another. 
  113.        importfilestofile*   Imports a list of files into one file. 
  114.        exportfilesfromfile*   Exports a list of files from one file. 
  115.        delexpfilesfromfile*   Deletes a list of files previously exported from 
  116.       one file. 
  117.        createsetupexe*   Create a setup executable file. 
  118.        readfiletovariable*   Reads a file to a rexx variable. 
  119.        openfile*   Open file. 
  120.        closefile*   Close file. 
  121.        setfilepointer*   Positions a file pointer within a file. 
  122.        readfile*   Reads from an open file. 
  123.        writefile*   Writes to an open file. 
  124.        setendoffile*   Writes an EOF marker to the file. 
  125.        emptyfile*   Deletes the contents of a file. 
  126.        copytoclipboardfromfile*   Copy to clipboard from file. 
  127.        copytoclipboardfrommle*   Copy to clipboard from mle. 
  128.        pastetomlefromfile*   Paste to mle from file. 
  129.        pastetomlefromclipboard*   Paste to mle from clipboard. 
  130.        pastetofilefrommle*   Paste to file from mle. 
  131.        pastetofilefromclipboard*   Paste to file from clipboard. 
  132.        changemleselectedcharformat*   Change mle selected character format. 
  133.  
  134.        Section 02 Directory Functions 
  135.  
  136.        cd   Changes current directory to NewDirectory. 
  137.        md   Creates directory NewDirectory. 
  138.        rd   Removes Directory. 
  139.        dirfile   Creates File containing info on Directory\Pattern. 
  140.        dirstem   Creates StemVariable containing file info on 
  141.       Directory\Pattern. 
  142.        dirfiledir   Creates File containing directory file info on 
  143.       Directory\Pattern. 
  144.        dirstemdir   Creates StemVariable containing directory info on 
  145.       Directory\Pattern. 
  146.        getshellfolders   Gets all Shell Folders into StemVariable. 
  147.        gettempdir   Gets Temp Directory Pathname 
  148.        getcurrentdir   Gets current directory. 
  149.        getdesktopdir   Gets directory for desktop. 
  150.        getdrives   Gets list of logical drives into a Stem Variable. 
  151.        existdir*   Tests existance of a directory. 
  152.  
  153.        Section 03 Search Functions 
  154.  
  155.        searchcaseon   Makes string searches in findstring case sensitive. 
  156.        searchcaseoff   Makes string searches in findstring non case sensitive. 
  157.        findstringtofile   Seaches All files matching FilenamePattern for 
  158.       SearchString to Filename. 
  159.        findstringtostem   Seaches All files matching FilenamePattern for 
  160.       SearchString to Stem Variable. 
  161.        changestring   Replaces ReplaceString with NewString according to 
  162.       StringInfo. 
  163.        filenamefrominfo*   Gets filename from StringInfo. 
  164.        startposfrominfo*   Gets start position from StringInfo. 
  165.        endposfrominfo*   Gets end position from StringInfo. 
  166.  
  167.        Section 04 Window Functions. 
  168.  
  169.        toplevelwindowlist   List all Top Level Windows in Stem Variable. 
  170.        getwindow   Return handle of window with title. 
  171.        getwindowwithchild*   Return handle of window with title that contains 
  172.       child with text. 
  173.        sendwindowtext   Send text to window. 
  174.        sendwindowfile*   Send contents of file to window. 
  175.        setwindowpos   Set window position. 
  176.        getwindowpos   Get window position. 
  177.        setwindowtopmost*   Place window above all non-topmost windows. 
  178.        setwindownormal*   Place window above all non-topmost windows ,behind 
  179.       all topmost windows. 
  180.        setwindowbottom*   Place window at bottom of Z order. 
  181.        getforegroundwindow*   Get window in the foreground. 
  182.        setforegroundwindow*   Place window in the foreground. 
  183.        getwindowtitle*   Get window title. 
  184.        setwindowtitle*   Set window title. 
  185.        getwindowvariable*   Get contents of a window to a variable. 
  186.        getwindowfile*   Get contents of a window to a file. 
  187.  
  188.        Section 05 Keyboard/Mouse Event Functions. 
  189.  
  190.        sendmouseevent   Sends a mouse event. 
  191.        starteventscapture   Captures all subsequent Mouse and Keyboard Events 
  192.       to Filename. 
  193.        stopeventscapture   Stops capture of events started by 
  194.       starteventscapture. 
  195.        removelastevent   Removes last event from Filename. 
  196.        setcapslockon   Sets Caps Lock ON. 
  197.        setcapslockoff   Sets Caps Lock OFF. 
  198.        setcoordwindow   Sets all following co-ordinates relative to a window. 
  199.  
  200.        Section 06 Rexx Functions. 
  201.  
  202.        runrexxscript   Executes RexxScript with optional arguments. 
  203.        runrexxscriptwindow   Executes RexxScript as a separate process in a 
  204.       window. 
  205.        runrexxscriptmin   Executes RexxScript as a separate process in a 
  206.       minimised window. 
  207.        runtempmaidscript*   Executes temporary copy of a MAID script. 
  208.        runtempmaidmultiscript*   Executes temporary copy of a MAID script from 
  209.       a multiscript file. 
  210.  
  211.        Section 07 Registry Functions. 
  212.  
  213.        dirregistry   Creates StemVariable containing info on Registry. 
  214.        getkeyvalues   Create StemVariable with Key values for Registry 
  215.        setkeyvalue   Modifies/Creates key value/data - creates key if it does 
  216.       not exist 
  217.        deletekey   Deletes an existing key 
  218.        deletekeyvalue   Deletes value from a key 
  219.  
  220.        Section 08 Global Stem Variable Functions. 
  221.  
  222.        writestemlist   Write to stemlist. 
  223.        readstemlist   Read from stemlist. 
  224.        writeallstemlist   Clears stemlist and writes all stem variables to 
  225.       stemlist. 
  226.        readallstemlist   Reads all stem variable from stemlist and leaves items 
  227.       on the list. 
  228.        peekstemlist   Read from stemlist. 
  229.        readstemlistitem   Read item from stemlist. 
  230.        peekstemlistitem   Read item from stemlist. 
  231.        stemlisttofile   Dump stemlist to a file. 
  232.        stemlistfromfile   Import file entries to stemlist. 
  233.        stemvartofile   Dump stem variable to a file. 
  234.        stemvarfromfile   Import stem variable from file. 
  235.        sizeofstemlist   Get no of entries in stemlist. 
  236.        freestemlist   Frees existing stemlist. 
  237.        getstemtails*   Gets tails of a stem variable. 
  238.        reducestemvariable*   Reduces a stem variable by removong all null 
  239.       entries. 
  240.        getstemidlist*   Gets a list of all non NULL ID's belonging to a stem in 
  241.       a stemlist. 
  242.        getstemtargetlist*   Gets a list of all non NULL target strings 
  243.       belonging to a stem in a stemlist. 
  244.        savelocalstems*   Writes local stem variables to local memory. 
  245.        restorelocalstems*   Reads local stem variables from local memory. 
  246.  
  247.        Section 09 General Functions. 
  248.  
  249.        pause   Pause in milliseconds. 
  250.        beep   Beeps at Frequency for Duration milliseconds. 
  251.        execute   Executes Filename. 
  252.        syscommand*   Executes System Command. 
  253.        getosversion   Get operating system version information. 
  254.        listprinters   List available printers to a stem variable. 
  255.        getdefaultprinter   Returns default printer. 
  256.        setdefaultprinter   Set default printer. 
  257.        printstring*   Print string to default printer. 
  258.        printfile*   Print file to default printer. 
  259.        playwave   Play a wave file. 
  260.        importwindow*   Import a desktop window  to become a child of a parent 
  261.       desktop window . 
  262.        exportwindow*   Export a child desktop window  imported with 
  263.       importwindow . 
  264.        validatestringchars*   Validates that a string only contains certain 
  265.       characters. 
  266.        removestringchars*   Removes certain characters from a string. 
  267.        addfuncfromfile*   Add a list of functions from a file. 
  268.        closethreadhandles*   Close thread handles from non-active threads. 
  269.        validatestringformat*   Validate the format of a string. 
  270.        getrexxioversion* Returns the REXXIO version information . 
  271.        reformatdatestring*   Reformats a date string. 
  272.        messagebeep   Plays a waveform sound or beeps the system speaker. 
  273.  
  274.        Section 10 Comms Functions. 
  275.  
  276.        opencommport*   Open Comm Port. 
  277.        closecommport*   Close Comm Port. 
  278.        readcommport*   Read from Comm Port. 
  279.        writecommport*   Write to Comm Port. 
  280.        readcommtofile*   Read from Comm Port to file. 
  281.        stopreadcommtofile*   Stop Read from Comm Port to file. 
  282.        writecommfromfile*   Write from file to Comm Port. 
  283.        writewaitreplycomm*   Write to Comm Port. and wait for reply. 
  284.        clearcommbuffer*   Flushes the transmit buffer. 
  285.  
  286.        Section 11 Event Functions. 
  287.  
  288.        whenwinchildsettitle*   When window with title/child 
  289.       created/visible/invisible/destroyed then set window title. 
  290.        whenwinchildrunscript*   When window with title/child 
  291.       created/visible/invisible/destroyed then run script. 
  292.        whenfilerunscript*   When file created/changed/destroyed then run 
  293.       script. 
  294.        whendirrunscript*   When directory created/changed/destroyed then run 
  295.       script. 
  296.  
  297.        Section 12 Internet Functions. 
  298.  
  299.        geturl*   Get an internet url page. 
  300.        geturlheader*   Get an internet url page header data. 
  301.        getfiletags*   Get HTML tags from a file. 
  302.        getfiletext*   Get text without tags from a file. 
  303.        getfilealttext*   Get text without tags from a file and include any alt 
  304.       definitions from the tags. 
  305.        getnameofhost*   Get name of host. 
  306.        gethostipaddress*   Get IP address of host. 
  307.        geturlipaddress*   Get IP address from URL. 
  308.        geturlstructure*   Get an internet url page and the pages referenced 
  309.       beneath it. 
  310.  
  311.        Section 13 Graphic Functions. 
  312.  
  313.        opengraphicwindow*   Create a graphic window. 
  314.        closegraphicwindow*   Close a graphic window. 
  315.        drawwinline*   Draw a line between two points. 
  316.        drawwinbox*   Draw a box around a point a given distance from the point. 
  317.        anglearc*   Draws a straight line and an arc. 
  318.        arc*   Draws an elliptical arc. 
  319.        arcto*   Draws an elliptical arc and the current position is updated. 
  320.        getarcdirection*   Returns the current arc direction - arc and rectangle 
  321.       functions use the arc direction. 
  322.        setarcdirection*   Sets the drawing direction to be used for arc and 
  323.       rectangle functions. 
  324.        lineto*   Draws a line from the current position up to, but not 
  325.       including, the specified point. 
  326.        moveto*   Updates the current position to the specified point and 
  327.       optionally returns the previous position. 
  328.        polybezier*   Draws one or more B╨Æzier curves. 
  329.        polybezierto*   Draws one or more B╨Æzier curves and moves the current 
  330.       position to the ending point of the last B╨Æzier curve. 
  331.        polydraw*   Draws a set of lines and B╨Æzier curves. 
  332.        polyline*   Draws a series of lines by connecting the points specified. 
  333.        polylineto*   Draws one or more lines and moves the current position to 
  334.       the ending point of the last line. 
  335.        polypolyline*   Draws multiple series of connected lines. 
  336.        polygon*   Draws a polygon consisting of two or more points connected by 
  337.       straight lines. 
  338.        polypolygon*   Draws a series of closed polygons. The polygons drawn by 
  339.       this function can overlap. 
  340.        chord*   Draws a chord (a region bounded by the intersection of an 
  341.       ellipse and a line segment, called a "secant"). 
  342.        ellipse*   Draws an ellipse. The center of the ellipse is the center of 
  343.       the rectangle. 
  344.        pie*   Draws a pie-shaped wedge bounded by the intersection of an 
  345.       ellipse and two radials. 
  346.        rectangle*   Draws a rectangle. 
  347.        fillrect*   Fills a rectangle with the specified color. 
  348.        framerect*   Draws a border (1 unit thick) around the specified 
  349.       rectangle with the specified color. 
  350.        invertrect*   Inverts the color in the area within the specified 
  351.       rectangle. 
  352.        roundrect*   Draws a rectangle with rounded corners. 
  353.        textout*   Writes a character string at the specified location, using 
  354.       the currently selected font. 
  355.        drawtext*   Draws formatted text in the rectangle. 
  356.        gettextextent*   Computes the width and height of the specified string 
  357.       of text. 
  358.        settextcolor*   Sets the text color. 
  359.        gettextcolor*   Gets the text color. 
  360.        listfonts*   List available fonts. 
  361.        settextfont*   Sets the text font. 
  362.        gettextfont*   Gets the text font. 
  363.        setpen*   Sets a pen that has the specified style, width, and color. 
  364.        setbrush*   Sets a brush that has the specified color. 
  365.        setbackgroundcolor*   Sets the current background color to the specified 
  366.       color. 
  367.        setbackgroundmode*   Sets the background mix mode. 
  368.        setneworigin*   Sets the new relative window position of the x,y origin 
  369.       (0,0). 
  370.        getbitmapsize*   Gets the dimensions of a bitmap file. 
  371.        exportbitmap*   Exports the rectangle as a bitmap file. 
  372.        importbitmap*   Imports a bitmap file into a rectangle. 
  373.        getnumberoficons*   Gets number of icons in a file. 
  374.        exporticon*   Exports the rectangle as an icon file. 
  375.        importicon*   Imports an icon file into a rectangle. 
  376.        copyrectangle*   Copies a rectangle to the clipboard as a bitmap. 
  377.        pasterectangle*   Pastes a bitmap from the clipboard into the specified 
  378.       rectangle. 
  379.        getcurrentpos*   Gets the current position. 
  380.        getscrollpos*   Gets the current position of the scroll bars. 
  381.        getscrollrange*   Gets the current range of the scrollbars. 
  382.        setscrollpos*   Sets the current scrollbar positions. 
  383.        updatedisplayon*   Sets graphic display on to reflect all drawing in 
  384.       real time. 
  385.        updatedisplayoff*   Sets graphic display off to freeze the display and 
  386.       draw in memory. 
  387.  
  388.  
  389. ΓòÉΓòÉΓòÉ 4. Getting Started - Initialising REXXIO ΓòÉΓòÉΓòÉ
  390.  
  391.  Getting Started - Initialising REXXIO 
  392.  
  393.  
  394.        rexxioinit   Registers all REXXIO functions. 
  395.  
  396.        Contents. 
  397.  
  398.  
  399. ΓòÉΓòÉΓòÉ 5. rexxioinit ΓòÉΓòÉΓòÉ
  400.  
  401.  rexxioinit 
  402.  
  403.  
  404.        Registers all REXXIO functions . 
  405.        equivalent to - 
  406.        ret=RxFuncAdd('newfile','REXXIO','newfile') 
  407.        ret=RxFuncAdd('removefile','REXXIO','removefile') 
  408.        ... 
  409.        ret=RxFuncAdd('setdefaultprinter','REXXIO','setdefaultprinter') 
  410.  
  411.        f=rexxioinit(REXXDLLPathName) 
  412.  
  413.        REXXDLLPathName  - Optional Fully Qualified Path Name of the REXX DLL 
  414.       being used 
  415.        Default is "REXX.DLL" 
  416.  
  417.        Rexxioinit requires the name of the REXX Dynamic Link Library (REXX 
  418.       interpreter) being used. 
  419.        If no name is supplied it is assumed to be "REXX.DLL" in the current or 
  420.       system path. 
  421.        eg 
  422.        ret=RxFuncAdd('rexxioinit','REXXIO','rexxioinit') 
  423.        ret=rexxioinit() 
  424.  
  425.        If this is not the case.the fully qualified name if the REXX DLL being 
  426.       used must be 
  427.        passed to rexxioinit. 
  428.        eg 
  429.        ret=RxFuncAdd('rexxioinit','REXXIO','rexxioinit') 
  430.        ret=rexxioinit("Z:\RexxPathName\MYREXX.DLL") 
  431.        where Z:\RexxPathName\MYREXX.DLL is the REXX DLL in use. 
  432.  
  433.        NOTE: An executable file called RXIOINIT.EXE (windows only) is provided 
  434.       for compatibility with some Rexx Interpreters. RXIOINIT.EXE should reside 
  435.       in the same directory as REXXIO.DLL . 
  436.        REXXIO.DLL executes RXIOINIT.EXE automatically if necessary 
  437.  
  438.        Contents. 
  439.  
  440.  
  441. ΓòÉΓòÉΓòÉ 6. Section 01 File Functions ΓòÉΓòÉΓòÉ
  442.  
  443.  Section 01 - File Functions 
  444.  
  445.  
  446.        newfile   Creates new file NewFilename. 
  447.        removefile   Delete File Filename. 
  448.        copyfile   Copies Filename1 to Filename2. 
  449.        appendfile   Appends Filename1 to Filename2. 
  450.        copycontentsfile   Copies contents of Filename1 to Filename2. 
  451.        copytempfile   Copies Filename to a temporary file in temporary 
  452.       directory or Directory if specified. 
  453.        movefile   Moves OldFilename to NewFilename. 
  454.        reversefile   Reverses line order of all lines in Filename. 
  455.        getfilesize   Returns length of Filename. 
  456.        setfilesize   Sets Filename size to Size. 
  457.        getshortname   Gets short path form of a specified path. 
  458.        getfullpathname   Returns current directory plus Filename. 
  459.        getfilepart   Returns Filename part of Fully Qualified path\name. 
  460.        getdirpart   Returns Directory part of Fully Qualified path\name. 
  461.        findfile   Returns Fully Qualified path\name of File. 
  462.        getnolines   Gets number of lines in Filename. 
  463.        getlinepos   Gets position of line LineNumber in file Filename. 
  464.        getline   Gets contents of line LineNumber in file Filename. 
  465.        getlineatpos*   Gets contents of line at position in file Filename. 
  466.        getstring   Gets String from Filename at Position. 
  467.        insertstring   Inserts String into Filename at Position. 
  468.        insertstringcrlf   Inserts String plus cr/lf at Position in Filename. 
  469.        deletestring   Deletes Length chars at Position from Filename. 
  470.        insertline   Inserts line into Filename. 
  471.        deleteline   Deletes line from Filename. 
  472.        insertfile*   Insert Filename at a given point. 
  473.        newfilefromposition*   Creates new file NewFilename with data from 
  474.       Position. 
  475.        getnocsvcolumns*   Gets the number of columns in a CSV tab or comma 
  476.       delimited line. 
  477.        getcsvcolumn*   Gets the nth column entry from a CSV tab or comma 
  478.       delimited line. 
  479.        replacecsvcolumn*   Replaces the nth column entry into a CSV tab or 
  480.       comma delimited line. 
  481.        newtempfile*   Creates new temporary file. 
  482.        existfile*   Tests existance of a file. 
  483.        renamefile*   Rename a file. 
  484.        addquotestoline*   Add quotes to each end of a line of text. 
  485.        addsinglequotestoline*   Add single quotes to each end of a line of text 
  486.       and double up and single quotes within the line. 
  487.        adddoublequotestoline*   Add double quotes to each end of a line of text 
  488.       and double up and double quotes within the line. 
  489.        stripquotesfromline*   Strips quotes from each end of a line of text. 
  490.        getkeyfromcsvfilecol*   Gets unique key from column in CSV file. 
  491.        readfiletostem*   Reads a file into a stem variable. 
  492.        insertfilefromstem*   Inserts lines in to a file from a stem variable. 
  493.        inusefile*   Tests whether a file is is use. 
  494.        getcharatpos*   Gets character at position in file Filename. 
  495.        getwordatpos*   Gets word at position in file Filename. 
  496.        fixlinefeeds*   Replaces single line feeds with carriage return line 
  497.       feed. 
  498.        fixlinefeedsrememptylines*   Replaces single line feeds with carriage 
  499.       return line feed and removes empty lines. 
  500.        getfilereplacetext*   Replace all occurences of one string with another. 
  501.        importfilestofile*   Imports a list of files into one file. 
  502.        exportfilesfromfile*   Exports a list of files from one file. 
  503.        delexpfilesfromfile*   Deletes a list of files previously exported from 
  504.       one file. 
  505.        createsetupexe*   Create a setup executable file. 
  506.        readfiletovariable*   Reads a file to a rexx variable. 
  507.        openfile*   Open file. 
  508.        closefile*   Close file. 
  509.        setfilepointer*   Positions a file pointer within a file. 
  510.        readfile*   Reads from an open file. 
  511.        writefile*   Writes to an open file. 
  512.        setendoffile*   Writes an EOF marker to the file. 
  513.        emptyfile*   Deletes the contents of a file. 
  514.        copytoclipboardfromfile*   Copy to clipboard from file. 
  515.        copytoclipboardfrommle*   Copy to clipboard from mle. 
  516.        pastetomlefromfile*   Paste to mle from file. 
  517.        pastetomlefromclipboard*   Paste to mle from clipboard. 
  518.        pastetofilefrommle*   Paste to file from mle. 
  519.        pastetofilefromclipboard*   Paste to file from clipboard. 
  520.        changemleselectedcharformat*   Change mle selected character format. 
  521.  
  522.        Contents. 
  523.  
  524.  
  525. ΓòÉΓòÉΓòÉ 7. newfile ΓòÉΓòÉΓòÉ
  526.  
  527.  newfile 
  528.  
  529.  
  530.        Creates new file NewFilename . 
  531.  
  532.        f=newfile(NewFilename) 
  533.  
  534.        NewFilename  - name of file 
  535.  
  536.        Contents. 
  537.        Section 01 File Functions. 
  538.  
  539.  
  540. ΓòÉΓòÉΓòÉ 8. removefile ΓòÉΓòÉΓòÉ
  541.  
  542.  removefile 
  543.  
  544.  
  545.        Delete File Filename . 
  546.  
  547.        f=removefile(Filename) 
  548.  
  549.        Filename  - name of file 
  550.  
  551.        Contents. 
  552.        Section 01 File Functions. 
  553.  
  554.  
  555. ΓòÉΓòÉΓòÉ 9. copyfile ΓòÉΓòÉΓòÉ
  556.  
  557.  copyfile 
  558.  
  559.  
  560.        Copies Filename1 to Filename2 
  561.  
  562.        f=copyfile(Filename1,Filename2) 
  563.  
  564.        Filename1  - name of file1 
  565.        Filename2  - name of file2 
  566.  
  567.        Contents. 
  568.        Section 01 File Functions. 
  569.  
  570.  
  571. ΓòÉΓòÉΓòÉ 10. appendfile ΓòÉΓòÉΓòÉ
  572.  
  573.  appendfile 
  574.  
  575.  
  576.        Appends Filename1 to Filename2 
  577.  
  578.        f=appendfile(Filename1,Filename2) 
  579.  
  580.        Filename1  - name of file1 
  581.        Filename2  - name of file2 
  582.  
  583.        Contents. 
  584.        Section 01 File Functions. 
  585.  
  586.  
  587. ΓòÉΓòÉΓòÉ 11. copycontentsfile ΓòÉΓòÉΓòÉ
  588.  
  589.  copycontentsfile 
  590.  
  591.  
  592.        Copies contents of Filename1 to Filename2 
  593.  
  594.        f=copycontentsfile(Filename1,Filename2) 
  595.  
  596.        Filename1  - name of file1 
  597.        Filename2  - name of file2 
  598.  
  599.        Contents. 
  600.        Section 01 File Functions. 
  601.  
  602.  
  603. ΓòÉΓòÉΓòÉ 12. copytempfile ΓòÉΓòÉΓòÉ
  604.  
  605.  copytempfile 
  606.  
  607.  
  608.        Copies Filename to a temporary file in temporary directory or Directory 
  609.       if specified. 
  610.        Returns full Temporary Filename. . 
  611.  
  612.        TempFilename=copytempfile(Filename[,Directory]) 
  613.  
  614.        Filename  - name of file 
  615.        Directory  - optional Directory name 
  616.  
  617.        Contents. 
  618.        Section 01 File Functions. 
  619.  
  620.  
  621. ΓòÉΓòÉΓòÉ 13. movefile ΓòÉΓòÉΓòÉ
  622.  
  623.  movefile 
  624.  
  625.  
  626.        Moves OldFilename to NewFilename . 
  627.  
  628.        f=movefile(OldFilename,NewFilename) 
  629.  
  630.        OldFilename  - Old name of file 
  631.        NewFilename  - New name of file 
  632.  
  633.        Contents. 
  634.        Section 01 File Functions. 
  635.  
  636.  
  637. ΓòÉΓòÉΓòÉ 14. reversefile ΓòÉΓòÉΓòÉ
  638.  
  639.  reversefile 
  640.  
  641.  
  642.        Reverses line order of all lines in Filename - 
  643.        1st line becomes last line 
  644.        2nd line becomes 2nd last line 
  645.        ... 
  646.        Last line becomes 1st line . 
  647.  
  648.        f=reversefile(Filename) 
  649.  
  650.        Filename  - name of file 
  651.  
  652.        Contents. 
  653.        Section 01 File Functions. 
  654.  
  655.  
  656. ΓòÉΓòÉΓòÉ 15. getfilesize ΓòÉΓòÉΓòÉ
  657.  
  658.  getfilesize 
  659.  
  660.  
  661.        Returns size of a file. 
  662.  
  663.        size=getfilesize(Filename) 
  664.  
  665.        Filename  - name of file 
  666.  
  667.        Contents. 
  668.        Section 01 File Functions. 
  669.  
  670.  
  671. ΓòÉΓòÉΓòÉ 16. setfilesize ΓòÉΓòÉΓòÉ
  672.  
  673.  setfilesize 
  674.  
  675.  
  676.        Sets the size if a file. 
  677.  
  678.        f=setfilesize(Filename,Size) 
  679.  
  680.        Filename  - name of file 
  681.        Size  - size in bytes 
  682.  
  683.        Contents. 
  684.        Section 01 File Functions. 
  685.  
  686.  
  687. ΓòÉΓòÉΓòÉ 17. getshortname ΓòÉΓòÉΓòÉ
  688.  
  689.  getshortname 
  690.  
  691.  
  692.        Gets short path form of a specified path  (available on windows only. On 
  693.       OS/2 performs a findfile). 
  694.  
  695.        shortname=getshortname(LongFilename) 
  696.  
  697.        LongFilename  - long name of file 
  698.  
  699.        Contents. 
  700.        Section 01 File Functions. 
  701.  
  702.  
  703. ΓòÉΓòÉΓòÉ 18. getfullpathname ΓòÉΓòÉΓòÉ
  704.  
  705.  getfullpathname 
  706.  
  707.  
  708.        Returns current directory plus Filename . 
  709.  
  710.        fullname=getfullpathname(Filename) 
  711.  
  712.        Filename  - name of file 
  713.  
  714.        Contents. 
  715.        Section 01 File Functions. 
  716.  
  717.  
  718. ΓòÉΓòÉΓòÉ 19. getfilepart ΓòÉΓòÉΓòÉ
  719.  
  720.  getfilepart 
  721.  
  722.  
  723.        Returns Filename part of Fully Qualified path\name . 
  724.  
  725.        pathname=getfilepart(FilePathName) 
  726.  
  727.        FilePathName  - Fully qualified path\name of file 
  728.        Returns NULL string if the file does not exist 
  729.  
  730.        Contents. 
  731.        Section 01 File Functions. 
  732.  
  733.  
  734. ΓòÉΓòÉΓòÉ 20. getdirpart ΓòÉΓòÉΓòÉ
  735.  
  736.  getdirpart 
  737.  
  738.  
  739.        Returns Directory part of Fully Qualified path\name . 
  740.  
  741.        pathdirectory=getdirpart(Filename) 
  742.  
  743.        Filename  - name of file 
  744.        Returns NULL string if the file does not exist 
  745.  
  746.        Contents. 
  747.        Section 01 File Functions. 
  748.  
  749.  
  750. ΓòÉΓòÉΓòÉ 21. findfile ΓòÉΓòÉΓòÉ
  751.  
  752.  findfile 
  753.  
  754.  
  755.        Returns Fully Qualified path\name  of File . 
  756.  
  757.        path=findfile(Filename) 
  758.  
  759.        Filename  - name of file 
  760.        If Filename includes a fully qualified directory path the function 
  761.       checks if the file exists. 
  762.        It returns NULL string if the file does not exist 
  763.        If Filename does not includes a fully qualified directory path - i.e. 
  764.       file name only 
  765.        the function searches the system path directories for the file. 
  766.        It returns NULL string if the file does not exist 
  767.  
  768.        Contents. 
  769.        Section 01 File Functions. 
  770.  
  771.  
  772. ΓòÉΓòÉΓòÉ 22. getnolines ΓòÉΓòÉΓòÉ
  773.  
  774.  getnolines 
  775.  
  776.  
  777.        Returns number of lines in Filename . 
  778.  
  779.        nolines=getnolines(Filename[,"CSVFILE"]) 
  780.  
  781.        Filename  - name of file 
  782.        "CSVFILE"  - optional string "CSVFILE" to read CSV lines that contain 
  783.       carriage/return line feeds 
  784.  
  785.        Contents. 
  786.        Section 01 File Functions. 
  787.  
  788.  
  789. ΓòÉΓòÉΓòÉ 23. getlinepos ΓòÉΓòÉΓòÉ
  790.  
  791.  getlinepos 
  792.  
  793.  
  794.        Gets position of line LineNumber in file Filename . 
  795.  
  796.        position=getlinepos(Filename,LineNumber[,"CSVFILE"]) 
  797.  
  798.        Filename  - name of file 
  799.        LineNumber  - number of line to find position of 
  800.        If Line number is negative it is the line number count is taken from the 
  801.       end of the file 
  802.        i.e. in a 20 line file Line Number -18 is the same as Line Number 3 
  803.        "CSVFILE"  - optional string "CSVFILE" to read CSV lines that contain 
  804.       carriage/return line feeds 
  805.  
  806.        Contents. 
  807.        Section 01 File Functions. 
  808.  
  809.  
  810. ΓòÉΓòÉΓòÉ 24. getline ΓòÉΓòÉΓòÉ
  811.  
  812.  getline 
  813.  
  814.  
  815.        Gets contents of line LineNumber in file Filename . 
  816.  
  817.        line=getline(Filename,LineNumber[,"CSVFILE"]) 
  818.  
  819.        Filename  - name of file 
  820.        LineNumber  - number of line to return 
  821.        If Line number is negative it is the line number count is taken from the 
  822.       end of the file 
  823.        i.e. in a 20 line file Line Number -18 is the same as Line Number 3 
  824.        "CSVFILE"  - optional string "CSVFILE" to read CSV lines that contain 
  825.       carriage/return line feeds 
  826.  
  827.        Contents. 
  828.        Section 01 File Functions. 
  829.  
  830.  
  831. ΓòÉΓòÉΓòÉ 25. getlineatpos ΓòÉΓòÉΓòÉ
  832.  
  833.  getlineatpos 
  834.  
  835.  
  836.        Gets contents of line at position in file Filename . 
  837.  
  838.        line=getlineatpos(Filename,Position[,"CSVFILE"]) 
  839.  
  840.        Filename  - name of file 
  841.        Position  - position in the file of the start of the line 
  842.        "CSVFILE"  - optional string "CSVFILE" to read CSV lines that contain 
  843.       carriage/return line feeds 
  844.  
  845.        returns 
  846.        RESULT.LINENO  line number 
  847.        RESULT.LINEPOS  position of the line 
  848.        RESULT.NEXTLINEPOS  position of the next line 
  849.  
  850.        This function requires a licensed copy of "Modular And Integrated 
  851.       Design" to be installed. 
  852.  
  853.        Contents. 
  854.        Section 01 File Functions. 
  855.  
  856.  
  857. ΓòÉΓòÉΓòÉ 26. getstring ΓòÉΓòÉΓòÉ
  858.  
  859.  getstring 
  860.  
  861.  
  862.        Gets String from Filename at Position. 
  863.  
  864.        string=getstring(Filename,Position,Length) 
  865.  
  866.        Filename  - name of file 
  867.        Position  - position where the string starts 
  868.        Length  - length of the string 
  869.  
  870.        Contents. 
  871.        Section 01 File Functions. 
  872.  
  873.  
  874. ΓòÉΓòÉΓòÉ 27. insertstring ΓòÉΓòÉΓòÉ
  875.  
  876.  insertstring 
  877.  
  878.  
  879.        Inserts String into Filename at Position . 
  880.  
  881.        f=insertstring(Filename,Position,String) 
  882.  
  883.        Filename  - name of file 
  884.        Position  - position where the string is inserted 
  885.        String  - string to insert 
  886.  
  887.        Contents. 
  888.        Section 01 File Functions. 
  889.  
  890.  
  891. ΓòÉΓòÉΓòÉ 28. insertstringcrlf ΓòÉΓòÉΓòÉ
  892.  
  893.  insertstringcrlf 
  894.  
  895.  
  896.        Inserts String into Filename at Position and adds a carriage-return 
  897.       line-feed . 
  898.  
  899.        f=insertstringcrlf(Filename,Position,String) 
  900.  
  901.        Filename  - name of file 
  902.        Position  - position where the string is inserted 
  903.        String  - string to insert 
  904.  
  905.        Contents. 
  906.        Section 01 File Functions. 
  907.  
  908.  
  909. ΓòÉΓòÉΓòÉ 29. deletestring ΓòÉΓòÉΓòÉ
  910.  
  911.  deletestring 
  912.  
  913.  
  914.        Deletes Length characters at Position from Filename . 
  915.  
  916.        f=deletestring(Filename,Position,Length) 
  917.  
  918.        Filename  - name of file 
  919.        Position  - position where to start deleting 
  920.        Length  - number of characters to delete 
  921.  
  922.        Contents. 
  923.        Section 01 File Functions. 
  924.  
  925.  
  926.  
  927. ΓòÉΓòÉΓòÉ 30. insertline ΓòÉΓòÉΓòÉ
  928.  
  929.  insertline 
  930.  
  931.  
  932.        Inset line into Filename at line LineNumber. 
  933.  
  934.        f=insertline(Filename,LineNumber,Line[,"CSVFILE"]) 
  935.  
  936.        Filename  - name of file 
  937.        LineNumber  - line number where the line is inserted 
  938.        Line  - line to insert 
  939.        If Line number is negative it is the line number count is taken from the 
  940.       end of the file 
  941.        i.e. in a 20 line file Line Number -18 is the same as Line Number 3 
  942.        "CSVFILE"  - optional string "CSVFILE" to insert CSV lines that contain 
  943.       carriage/return line feeds 
  944.  
  945.        Contents. 
  946.        Section 01 File Functions. 
  947.  
  948.  
  949. ΓòÉΓòÉΓòÉ 31. deleteline ΓòÉΓòÉΓòÉ
  950.  
  951.  deleteline 
  952.  
  953.  
  954.        Delete line LineNumber from Filename. 
  955.  
  956.        f=deleteline(Filename,LineNumber[,"CSVFILE"]) 
  957.  
  958.        Filename  - name of file 
  959.        LineNumber  - line number to delete 
  960.        If Line number is negative it is the line number count is taken from the 
  961.       end of the file 
  962.        i.e. in a 20 line file Line Number -18 is the same as Line Number 3 
  963.        "CSVFILE"  - optional string "CSVFILE" to delete CSV lines that contain 
  964.       carriage/return line feeds 
  965.  
  966.        Contents. 
  967.        Section 01 File Functions. 
  968.  
  969.  
  970. ΓòÉΓòÉΓòÉ 32. insertfile ΓòÉΓòÉΓòÉ
  971.  
  972.  insertfile 
  973.  
  974.  
  975.        Insert Filename at a given point. 
  976.  
  977.        f=insertfile(Filename,Position,FileToInsert) 
  978.  
  979.        Filename  - name of file 
  980.        Position  - position where the FileToInsert must be inserted 
  981.        FileToInsert  - name of file to insert 
  982.  
  983.        This function requires a licensed copy of "Modular And Integrated 
  984.       Design" to be installed. 
  985.  
  986.        Contents. 
  987.        Section 01 File Functions. 
  988.  
  989.  
  990. ΓòÉΓòÉΓòÉ 33. newfilefromposition ΓòÉΓòÉΓòÉ
  991.  
  992.  newfilefromposition 
  993.  
  994.  
  995.        Creates new file NewFilename with data from Position. 
  996.  
  997.        f=newfilefromposition(Filename,StartPosition,EndPosition,NewFileName) 
  998.  
  999.        Filename  - name of file 
  1000.        StartPosition  - start position of the data - 1st char is at position 0 
  1001.        EndPosition  - end position of the data - 1st char is at position 0 
  1002.        NewFileName  - name of new file 
  1003.  
  1004.        This function requires a licensed copy of "Modular And Integrated 
  1005.       Design" to be installed. 
  1006.  
  1007.        Contents. 
  1008.        Section 01 File Functions. 
  1009.  
  1010.  
  1011. ΓòÉΓòÉΓòÉ 34. getnocsvcolumns ΓòÉΓòÉΓòÉ
  1012.  
  1013.  getnocsvcolumns 
  1014.  
  1015.  
  1016.        Gets the number of columns in a CSV tab or comma delimited line. 
  1017.  
  1018.        nocols=getnocsvcolumns(Line) 
  1019.  
  1020.        Line  - line from a CSV file 
  1021.  
  1022.        This function requires a licensed copy of "Modular And Integrated 
  1023.       Design" to be installed. 
  1024.  
  1025.        Contents. 
  1026.        Section 01 File Functions. 
  1027.  
  1028.  
  1029. ΓòÉΓòÉΓòÉ 35. getcsvcolumn ΓòÉΓòÉΓòÉ
  1030.  
  1031.  getcsvcolumn 
  1032.  
  1033.  
  1034.        Gets the nth column entry from a CSV tab or comma delimited line. 
  1035.  
  1036.        column=getcsvcolumn(Line,ColumnNumber) 
  1037.  
  1038.        Line  - line from a CSV file 
  1039.        ColumnNumber  - column number starting at 1 
  1040.  
  1041.        This function requires a licensed copy of "Modular And Integrated 
  1042.       Design" to be installed. 
  1043.  
  1044.        Contents. 
  1045.        Section 01 File Functions. 
  1046.  
  1047.  
  1048. ΓòÉΓòÉΓòÉ 36. replacecsvcolumn ΓòÉΓòÉΓòÉ
  1049.  
  1050.  replacecsvcolumn 
  1051.  
  1052.  
  1053.        Replaces the nth column entry into a CSV tab or comma delimited line. 
  1054.  
  1055.        newline=replacecsvcolumn(Line,ColumnNumber,Column) 
  1056.  
  1057.        Line  - line from a CSV file 
  1058.        ColumnNumber  - column number starting at 1 
  1059.        Column  - column data to replace existing comumn data 
  1060.  
  1061.        This function requires a licensed copy of "Modular And Integrated 
  1062.       Design" to be installed. 
  1063.  
  1064.        Contents. 
  1065.        Section 01 File Functions. 
  1066.  
  1067.  
  1068. ΓòÉΓòÉΓòÉ 37. newtempfile ΓòÉΓòÉΓòÉ
  1069.  
  1070.  newtempfile 
  1071.  
  1072.  
  1073.        Creates new temporary file. 
  1074.  
  1075.        tempfilename=newtempfile() 
  1076.  
  1077.        No Arguments 
  1078.  
  1079.        This function requires a licensed copy of "Modular And Integrated 
  1080.       Design" to be installed. 
  1081.  
  1082.        Contents. 
  1083.        Section 01 File Functions. 
  1084.  
  1085.  
  1086. ΓòÉΓòÉΓòÉ 38. existfile ΓòÉΓòÉΓòÉ
  1087.  
  1088.  existfile 
  1089.  
  1090.  
  1091.        Tests existance of a file. 
  1092.  
  1093.        f=existfile(Filename) 
  1094.  
  1095.        Filename  - name of file 
  1096.        Returns NULL if the file does not exist, else returns the filename 
  1097.  
  1098.        This function requires a licensed copy of "Modular And Integrated 
  1099.       Design" to be installed. 
  1100.  
  1101.        Contents. 
  1102.        Section 01 File Functions. 
  1103.  
  1104.  
  1105. ΓòÉΓòÉΓòÉ 39. renamefile ΓòÉΓòÉΓòÉ
  1106.  
  1107.  renamefile 
  1108.  
  1109.  
  1110.        Rename a file. 
  1111.  
  1112.        f=renamefile(OldFilename,NewFilename) 
  1113.  
  1114.        OldFilename  - old name of the file 
  1115.        NewFilename  - new name of the file - filename only - no path 
  1116.        Returns NULL if the file does not exist, else returns the new filename 
  1117.  
  1118.        This function requires a licensed copy of "Modular And Integrated 
  1119.       Design" to be installed. 
  1120.  
  1121.        Contents. 
  1122.        Section 01 File Functions. 
  1123.  
  1124.  
  1125. ΓòÉΓòÉΓòÉ 40. addquotestoline ΓòÉΓòÉΓòÉ
  1126.  
  1127.  addquotestoline 
  1128.  
  1129.  
  1130.        Add quotes to each end of a line of text. 
  1131.  
  1132.        NewLine=addquotestoline(Line) 
  1133.  
  1134.        Line  - line of text 
  1135.  
  1136.        If the text contains a double quote ("), single quotes (') are added to 
  1137.       the line, otherwise doublequotes are used. 
  1138.        e.g. 
  1139.        Hello becomes "Hello" 
  1140.        Hello" becomes 'Hello"' 
  1141.  
  1142.        This function requires a licensed copy of "Modular And Integrated 
  1143.       Design" to be installed. 
  1144.  
  1145.        Contents. 
  1146.        Section 01 File Functions. 
  1147.  
  1148.  
  1149. ΓòÉΓòÉΓòÉ 41. addsinglequotestoline ΓòÉΓòÉΓòÉ
  1150.  
  1151.  addsinglequotestoline 
  1152.  
  1153.  
  1154.        Add single quotes to each end of a line of text and double up and single 
  1155.       quotes within the line. 
  1156.  
  1157.        NewLine=addsinglequotestoline(Line) 
  1158.  
  1159.        Line  - line of text 
  1160.  
  1161.        Singlequotes are used. 
  1162.        e.g. 
  1163.        Hello becomes 'Hello' 
  1164.        Fred's car becomes 'Fred''s car' 
  1165.  
  1166.        This function requires a licensed copy of "Modular And Integrated 
  1167.       Design" to be installed. 
  1168.  
  1169.        Contents. 
  1170.        Section 01 File Functions. 
  1171.  
  1172.  
  1173. ΓòÉΓòÉΓòÉ 42. adddoublequotestoline ΓòÉΓòÉΓòÉ
  1174.  
  1175.  adddoublequotestoline 
  1176.  
  1177.  
  1178.        Add double quotes to each end of a line of text and double up and double 
  1179.       quotes within the line. 
  1180.  
  1181.        NewLine=adddoublequotestoline(Line) 
  1182.  
  1183.        Line  - line of text 
  1184.  
  1185.        Doublequotes are used. 
  1186.        e.g. 
  1187.        Hello becomes "Hello" 
  1188.        He said "Hello" loudly becomes "He said ""Hello"" loudly"' 
  1189.  
  1190.        This function requires a licensed copy of "Modular And Integrated 
  1191.       Design" to be installed. 
  1192.  
  1193.        Contents. 
  1194.        Section 01 File Functions. 
  1195.  
  1196.  
  1197. ΓòÉΓòÉΓòÉ 43. stripquotesfromline ΓòÉΓòÉΓòÉ
  1198.  
  1199.  stripquotesfromline 
  1200.  
  1201.  
  1202.        Strips quotes from each end of a line of text. 
  1203.  
  1204.        NewLine=stripquotesfromline(Line[,"REMEXTRAQUOTES"]) 
  1205.  
  1206.        Line  - line of text 
  1207.        REMEXTRAQUOTES  - optional - two adjacent quotes (same as end quotes) 
  1208.       within the line are replaced by a single quote 
  1209.  
  1210.        The line must start and end with either single quotes (') or must start 
  1211.       and end with double quotes ("). 
  1212.        e.g. 
  1213.        "Hello" becomes Hello 
  1214.        'Hello' becomes Hello 
  1215.        using the "REMEXTRAQUOTES" option - 
  1216.        "Hello ""John""." becomes Hello "John". 
  1217.        'John''s car' becomes John's car 
  1218.  
  1219.        This function requires a licensed copy of "Modular And Integrated 
  1220.       Design" to be installed. 
  1221.  
  1222.        Contents. 
  1223.        Section 01 File Functions. 
  1224.  
  1225.  
  1226. ΓòÉΓòÉΓòÉ 44. getkeyfromcsvfilecol ΓòÉΓòÉΓòÉ
  1227.  
  1228.  getkeyfromcsvfilecol 
  1229.  
  1230.  
  1231.        Gets unique key from column in CSV file. 
  1232.  
  1233.        Key=getkeyfromcsvfilecol(Filename,ColumnNo) 
  1234.  
  1235.        Filename  - name of file 
  1236.        ColumnNo  - no of column (1 first column, 2 second column ... etc) 
  1237.        Line  - line of text 
  1238.  
  1239.        File Filename must contain CSV tab or comma delimited lines. 
  1240.        Key is a unique number that does not appear in the existing column and 
  1241.       can safely be inserted as an entry in column ColumnNo in a new line, 
  1242.       leaving all entries in the column unique. 
  1243.  
  1244.        This function requires a licensed copy of "Modular And Integrated 
  1245.       Design" to be installed. 
  1246.  
  1247.        Contents. 
  1248.        Section 01 File Functions. 
  1249.  
  1250.  
  1251. ΓòÉΓòÉΓòÉ 45. readfiletostem ΓòÉΓòÉΓòÉ
  1252.  
  1253.  readfiletostem 
  1254.  
  1255.  
  1256.        Reads a file into a stem variable. 
  1257.  
  1258.        f=readfiletostem(Filename,StemVariable[,FileStartLine,FileEndLine]) 
  1259.  
  1260.        Filename  - name of file 
  1261.        StemVariable  - name of stem variable to read the file into 
  1262.        FileStartLine  - start at line FileStartLine of the file (Default whole 
  1263.       file) 
  1264.        FileEndLine  - end at line FileEndLine of the file 
  1265.  
  1266.        STEM.0 -  number of stem entries (lines in the file) 
  1267.        STEM.i - line i of the file 
  1268.  
  1269.        This function requires a licensed copy of "Modular And Integrated 
  1270.       Design" to be installed. 
  1271.  
  1272.        Contents. 
  1273.        Section 01 File Functions. 
  1274.  
  1275.  
  1276. ΓòÉΓòÉΓòÉ 46. insertfilefromstem ΓòÉΓòÉΓòÉ
  1277.  
  1278.  insertfilefromstem 
  1279.  
  1280.  
  1281.        Inserts lines into a file from a stem variable. 
  1282.  
  1283.       f=insertfilefromstem(Filename,StemVariable[,FileStartLine,StemStartPosition,StemEndPosition]) 
  1284.  
  1285.        Filename  - name of file 
  1286.        StemVariable  - name of stem variable that contains the file to be 
  1287.       written 
  1288.        FileStartLine  - start writing the file from line FileStartLine (Default 
  1289.       1) 
  1290.        StemStartPosition  - Stem.StemStartPosition is the first line written 
  1291.       (Default whole file) 
  1292.        StemEndPosition  - Stem.StemEndPosition is the last line written 
  1293.  
  1294.        STEM.0 -  number of stem entries (lines in the file) 
  1295.        STEM.i - line i of the file 
  1296.  
  1297.        This function requires a licensed copy of "Modular And Integrated 
  1298.       Design" to be installed. 
  1299.  
  1300.        Contents. 
  1301.        Section 01 File Functions. 
  1302.  
  1303.  
  1304. ΓòÉΓòÉΓòÉ 47. inusefile ΓòÉΓòÉΓòÉ
  1305.  
  1306.  inusefile 
  1307.  
  1308.  
  1309.        Tests whether a file is is use. 
  1310.  
  1311.        f=inusefile(Filename) 
  1312.  
  1313.        Filename  - name of file 
  1314.        Returns NULL if the file does not exist, else returns 1 if the file is 
  1315.       in use, 0 if not in use. 
  1316.  
  1317.        This function requires a licensed copy of "Modular And Integrated 
  1318.       Design" to be installed. 
  1319.  
  1320.        Contents. 
  1321.        Section 01 File Functions. 
  1322.  
  1323.  
  1324. ΓòÉΓòÉΓòÉ 48. getcharatpos ΓòÉΓòÉΓòÉ
  1325.  
  1326.  getcharatpos 
  1327.  
  1328.  
  1329.        Gets character at position in file Filename . 
  1330.  
  1331.        char=getcharatpos(Filename,Position) 
  1332.  
  1333.        Filename  - name of file 
  1334.        Position  - position in the file 
  1335.  
  1336.        returns character at the position, NULL string returned if position 
  1337.       invalid. 
  1338.  
  1339.        This function requires a licensed copy of "Modular And Integrated 
  1340.       Design" to be installed. 
  1341.  
  1342.        Contents. 
  1343.        Section 01 File Functions. 
  1344.  
  1345.  
  1346. ΓòÉΓòÉΓòÉ 49. getwordatpos ΓòÉΓòÉΓòÉ
  1347.  
  1348.  getwordatpos 
  1349.  
  1350.  
  1351.        Gets word at position in file Filename . 
  1352.  
  1353.        word=getwordatpos(Filename,Position) 
  1354.  
  1355.        Filename  - name of file 
  1356.        Position  - position in the file 
  1357.  
  1358.        returns word at the position, NULL string returned if position invalid 
  1359.       or no valid word at the position 
  1360.  
  1361.        This function requires a licensed copy of "Modular And Integrated 
  1362.       Design" to be installed. 
  1363.  
  1364.        Contents. 
  1365.        Section 01 File Functions. 
  1366.  
  1367.  
  1368. ΓòÉΓòÉΓòÉ 50. fixlinefeeds ΓòÉΓòÉΓòÉ
  1369.  
  1370.  fixlinefeeds 
  1371.  
  1372.  
  1373.        Replaces single line feeds with carriage return line feed . 
  1374.  
  1375.        f=fixlinefeeds(Filename) 
  1376.  
  1377.        Filename  - name of file 
  1378.  
  1379.        This function requires a licensed copy of "Modular And Integrated 
  1380.       Design" to be installed. 
  1381.  
  1382.        Contents. 
  1383.        Section 01 File Functions. 
  1384.  
  1385.  
  1386. ΓòÉΓòÉΓòÉ 51. fixlinefeedsrememptylines ΓòÉΓòÉΓòÉ
  1387.  
  1388.  fixlinefeedsrememptylines 
  1389.  
  1390.  
  1391.        Replaces single line feeds with carriage return line feed and removes 
  1392.       empty lines. 
  1393.  
  1394.        f=fixlinefeedsrememptylines(Filename) 
  1395.  
  1396.        Filename  - name of file 
  1397.  
  1398.        This function requires a licensed copy of "Modular And Integrated 
  1399.       Design" to be installed. 
  1400.  
  1401.        Contents. 
  1402.        Section 01 File Functions. 
  1403.  
  1404.  
  1405. ΓòÉΓòÉΓòÉ 52. getfilereplacetext ΓòÉΓòÉΓòÉ
  1406.  
  1407.  getfilereplacetext 
  1408.  
  1409.  
  1410.        Replace all occurences of one string with another (available on windows 
  1411.       only). 
  1412.  
  1413.        f=getfilereplacetext(Filename,OldString,NewString) 
  1414.  
  1415.        Filename  - name of file. 
  1416.        OldString  - string to replace. 
  1417.        NewString  - new string. 
  1418.  
  1419.        Returns 
  1420.        All the text in FileName with OldString is replaced by NewString. 
  1421.  
  1422.        This function requires a licensed copy of "Modular And Integrated 
  1423.       Design" to be installed. 
  1424.  
  1425.        Contents. 
  1426.        Section 01 File Functions. 
  1427.  
  1428.  
  1429. ΓòÉΓòÉΓòÉ 53. importfilestofile ΓòÉΓòÉΓòÉ
  1430.  
  1431.  importfilestofile 
  1432.  
  1433.  
  1434.        Imports a list of files into one file. 
  1435.  
  1436.        f=importfilestofile(Filename,StemVariable) 
  1437.  
  1438.        Filename  - name of file containing all the files. 
  1439.        StemVariable  - name of stem variable that contains the files to be 
  1440.       written 
  1441.        STEM.0 -  number of stem entries (n = number of files) 
  1442.        STEM.1 - name of file 1 
  1443.        STEM.EXPORT.1 - export name of file - default is name of file 1 
  1444.        STEM.2 - name of file 2 
  1445.        STEM.EXPORT.2 - export name of file - default is name of file 2 
  1446.        ... 
  1447.        STEM.n - name of file n 
  1448.        STEM.EXPORT.n - export name of file - default is name of file n 
  1449.  
  1450.        In windows the files listed in StemVariable may be compressed files. 
  1451.  
  1452.        This function requires a licensed copy of "Modular And Integrated 
  1453.       Design" to be installed. 
  1454.  
  1455.        Contents. 
  1456.        Section 01 File Functions. 
  1457.  
  1458.  
  1459. ΓòÉΓòÉΓòÉ 54. exportfilesfromfile ΓòÉΓòÉΓòÉ
  1460.  
  1461.  exportfilesfromfile 
  1462.  
  1463.  
  1464.        Exports a list of files from one file. 
  1465.  
  1466.        f=exportfilesfromfile(Filename) 
  1467.  
  1468.        Filename  - name of file containing all the files (in windows this file 
  1469.       may be a compressed file). 
  1470.  
  1471.        If the fully qualified pathname was not provided when the files were 
  1472.       imported to FileName, files are exported to the current directory. 
  1473.  
  1474.        This function requires a licensed copy of "Modular And Integrated 
  1475.       Design" to be installed. 
  1476.  
  1477.        Contents. 
  1478.        Section 01 File Functions. 
  1479.  
  1480.  
  1481. ΓòÉΓòÉΓòÉ 55. delexpfilesfromfile ΓòÉΓòÉΓòÉ
  1482.  
  1483.  delexpfilesfromfile 
  1484.  
  1485.  
  1486.        Deletes a list of files previously exported from one file 
  1487.  
  1488.        f=delexpfilesfromfile(Filename) 
  1489.  
  1490.        Filename  - name of file containing all the files (in windows this file 
  1491.       may be a compressed file). 
  1492.  
  1493.        If the fully qualified pathname was not provided when the files were 
  1494.       imported to FileName, files are deleted in the current directory. 
  1495.  
  1496.        This function requires a licensed copy of "Modular And Integrated 
  1497.       Design" to be installed. 
  1498.  
  1499.        Contents. 
  1500.        Section 01 File Functions. 
  1501.  
  1502.  
  1503. ΓòÉΓòÉΓòÉ 56. createsetupexe ΓòÉΓòÉΓòÉ
  1504.  
  1505.  createsetupexe 
  1506.  
  1507.  
  1508.        Create a setup executable file (available on windows only). 
  1509.  
  1510.       f=createsetupexe(ImportedFile,SubdirectoryName[,ExeToRunName[,DeleteOption[,SetupExeName]]]) 
  1511.  
  1512.        ImportedFile  - file created using the importfilestofile function 
  1513.        SubdirectoryName  - name of sub-directory which will contain the 
  1514.       expanded setup files 
  1515.        ExeToRunName  - optional - name of executable file to run after the 
  1516.       files have been expanded - can be NULL "" if no executable is to be run - 
  1517.       default NULL "" 
  1518.        DeleteOption -  optional - "DELETE" string - if specified expanded files 
  1519.       are deleted after ExeToRunName is run - default NULL "" files are not 
  1520.       deleted 
  1521.        SetupExeName -  name of setup executable files - default "Setup.exe" 
  1522.  
  1523.        The executable file created requires REXXIO and  a licensed copy of 
  1524.       "Modular And Integrated Design" to be installed. 
  1525.  
  1526.        This function requires a licensed copy of "Modular And Integrated 
  1527.       Design" to be installed. 
  1528.  
  1529.        Contents. 
  1530.        Section 01 File Functions. 
  1531.  
  1532.  
  1533. ΓòÉΓòÉΓòÉ 57. readfiletovariable ΓòÉΓòÉΓòÉ
  1534.  
  1535.  readfiletovariable 
  1536.  
  1537.  
  1538.        Reads a file to a rexx variable. 
  1539.  
  1540.        f=readfiletovariable(Filename,Variablename) 
  1541.  
  1542.        Filename  - file to read 
  1543.        Variablename  - name of variable 
  1544.  
  1545.        This function requires a licensed copy of "Modular And Integrated 
  1546.       Design" to be installed. 
  1547.  
  1548.        Contents. 
  1549.        Section 01 File Functions. 
  1550.  
  1551.  
  1552. ΓòÉΓòÉΓòÉ 58. openfile ΓòÉΓòÉΓòÉ
  1553.  
  1554.  openfile 
  1555.  
  1556.  
  1557.        Open file. 
  1558.  
  1559.        filehandle=openfile(Filename,FileAccess,ShareMode,Creation) 
  1560.  
  1561.        Filename  - file to open 
  1562.        FileAccess  - File Access - can be "READ" , "WRITE" , or "READWRITE" 
  1563.        ShareMode  - Share Mode - can be "SHARENONE" , "SHAREREAD" , 
  1564.       "SHAREWRITE" 
  1565.        or "SHAREREADWRITE" 
  1566.        Creation  - Creation attributes - can be "CREATENEW" , "CREATEALWAYS" , 
  1567.       "OPENEXISTING" , "OPENALWAYS" or "TRUNCATEEXISTING" 
  1568.  
  1569.        A filehandle of -1 is returned if the file is not opened. 
  1570.        "CREATENEW" returns -1 if the file already exists 
  1571.        "CREATEALWAYS" overwrites the file if it exists 
  1572.        "OPENEXISTING" returns -1 if the file does not exist 
  1573.        "OPENALWAYS" does a "CREATENEW" if the file does not exist 
  1574.        "TRUNCATEEXISTING"  returns -1 if the file does not exist 
  1575.  
  1576.        This function requires a licensed copy of "Modular And Integrated 
  1577.       Design" to be installed. 
  1578.  
  1579.        Contents. 
  1580.        Section 01 File Functions. 
  1581.  
  1582.  
  1583. ΓòÉΓòÉΓòÉ 59. closefile ΓòÉΓòÉΓòÉ
  1584.  
  1585.  closefile 
  1586.  
  1587.  
  1588.        Close file. 
  1589.  
  1590.        f=close(filehandle) 
  1591.  
  1592.        filehandle  - file handle returned by openfile 
  1593.  
  1594.        This function requires a licensed copy of "Modular And Integrated 
  1595.       Design" to be installed. 
  1596.  
  1597.        Contents. 
  1598.        Section 01 File Functions. 
  1599.  
  1600.  
  1601. ΓòÉΓòÉΓòÉ 60. setfilepointer ΓòÉΓòÉΓòÉ
  1602.  
  1603.  setfilepointer 
  1604.  
  1605.  
  1606.        Positions a file pointer within a file. 
  1607.  
  1608.        f=setfilepointer(filehandle,position[,anchorposition]) 
  1609.  
  1610.        filehandle  - file handle returned by openfile 
  1611.        position  - offset from the anchorposition - positive from the beginning 
  1612.       and negative from the end 
  1613.        anchorposition  - optional - "BEGIN" , "CURRENT" or "END" - default 
  1614.       "BEGIN" 
  1615.        "BEGIN" gives an offset position from the beginning of the file 
  1616.        "CURRENT" gives an offset position from the current position 
  1617.        "END" gives an offset position from the end of the file 
  1618.  
  1619.        This function requires a licensed copy of "Modular And Integrated 
  1620.       Design" to be installed. 
  1621.  
  1622.        Contents. 
  1623.        Section 01 File Functions. 
  1624.  
  1625.  
  1626. ΓòÉΓòÉΓòÉ 61. readfile ΓòÉΓòÉΓòÉ
  1627.  
  1628.  readfile 
  1629.  
  1630.  
  1631.        Reads from an open file. 
  1632.  
  1633.        string=readfile(filehandle,noofchars) 
  1634.  
  1635.        filehandle  - file handle returned by openfile 
  1636.        noofchars  - no of characters to read 
  1637.  
  1638.        This function requires a licensed copy of "Modular And Integrated 
  1639.       Design" to be installed. 
  1640.  
  1641.        Contents. 
  1642.        Section 01 File Functions. 
  1643.  
  1644.  
  1645. ΓòÉΓòÉΓòÉ 62. writefile ΓòÉΓòÉΓòÉ
  1646.  
  1647.  writefile 
  1648.  
  1649.  
  1650.        Writes to an open file.. 
  1651.  
  1652.        f=writefile(filehandle,string) 
  1653.  
  1654.        filehandle  - file handle returned by openfile 
  1655.        string  - string to write 
  1656.  
  1657.        This function requires a licensed copy of "Modular And Integrated 
  1658.       Design" to be installed. 
  1659.  
  1660.        Contents. 
  1661.        Section 01 File Functions. 
  1662.  
  1663.  
  1664. ΓòÉΓòÉΓòÉ 63. setendoffile ΓòÉΓòÉΓòÉ
  1665.  
  1666.  setendoffile 
  1667.  
  1668.  
  1669.        Writes an EOF marker to the file. 
  1670.  
  1671.        f=setendoffile(filehandle) 
  1672.  
  1673.        filehandle  - file handle returned by openfile 
  1674.  
  1675.        This function requires a licensed copy of "Modular And Integrated 
  1676.       Design" to be installed. 
  1677.  
  1678.        Contents. 
  1679.        Section 01 File Functions. 
  1680.  
  1681.  
  1682. ΓòÉΓòÉΓòÉ 64. emptyfile ΓòÉΓòÉΓòÉ
  1683.  
  1684.  emptyfile 
  1685.  
  1686.  
  1687.        Deletes the contents of a file. 
  1688.  
  1689.        f=emptyfile(filehandle) 
  1690.  
  1691.        filehandle  - file handle returned by openfile 
  1692.  
  1693.        This function requires a licensed copy of "Modular And Integrated 
  1694.       Design" to be installed. 
  1695.  
  1696.        Contents. 
  1697.        Section 01 File Functions. 
  1698.  
  1699.  
  1700. ΓòÉΓòÉΓòÉ 65. copytoclipboardfromfile ΓòÉΓòÉΓòÉ
  1701.  
  1702.  copytoclipboardfromfile 
  1703.  
  1704.  
  1705.        Copy to clipboard from file. (available on windows only) 
  1706.  
  1707.        f=copytoclipboardfromfile(Filename[,Type]) 
  1708.  
  1709.        Filename  - file to copy from 
  1710.        Type  - optional - default "TEXT" 
  1711.        can be one of - 
  1712.        "TEXT" - Text Format 
  1713.        "RTF" - Rich Text Format 
  1714.        "RTFNOOBJECTS" - Rich Text Format Without Objects 
  1715.        "RTFOBJECTS" - RichEdit Text and Objects 
  1716.  
  1717.        This function requires a licensed copy of "Modular And Integrated 
  1718.       Design" to be installed. 
  1719.  
  1720.        Contents. 
  1721.        Section 01 File Functions. 
  1722.  
  1723.  
  1724. ΓòÉΓòÉΓòÉ 66. copytoclipboardfrommle ΓòÉΓòÉΓòÉ
  1725.  
  1726.  copytoclipboardfrommle 
  1727.  
  1728.  
  1729.        Copy to clipboard from mle. (available on windows only) 
  1730.  
  1731.        f=copytoclipboardfrommle(Hwnd[,Type]) 
  1732.  
  1733.        Hwnd  - window handle of the MLE 
  1734.        Type  - optional - default "TEXT" 
  1735.        can be one of - 
  1736.        "TEXT" - Text Format 
  1737.        "RTF" - Rich Text Format 
  1738.        "RTFNOOBJECTS" - Rich Text Format Without Objects 
  1739.        "RTFOBJECTS" - RichEdit Text and Objects 
  1740.  
  1741.        This function requires a licensed copy of "Modular And Integrated 
  1742.       Design" to be installed. 
  1743.  
  1744.        Contents. 
  1745.        Section 01 File Functions. 
  1746.  
  1747.  
  1748. ΓòÉΓòÉΓòÉ 67. pastetomlefromfile ΓòÉΓòÉΓòÉ
  1749.  
  1750.  pastetomlefromfile 
  1751.  
  1752.  
  1753.        Paste to mle from file. (available on windows only) 
  1754.  
  1755.        f=pastetomlefromfile(Hwnd,Filename[,Type]) 
  1756.  
  1757.        Hwnd  - window handle of the MLE 
  1758.        Filename  - file to copy from 
  1759.        Type  - optional - default "TEXT" 
  1760.        can be one of - 
  1761.        "TEXT" - Text Format 
  1762.        "RTF" - Rich Text Format 
  1763.        "RTFNOOBJECTS" - Rich Text Format Without Objects 
  1764.        "RTFOBJECTS" - RichEdit Text and Objects 
  1765.  
  1766.        This function requires a licensed copy of "Modular And Integrated 
  1767.       Design" to be installed. 
  1768.  
  1769.        Contents. 
  1770.        Section 01 File Functions. 
  1771.  
  1772.  
  1773. ΓòÉΓòÉΓòÉ 68. pastetomlefromclipboard ΓòÉΓòÉΓòÉ
  1774.  
  1775.  pastetomlefromclipboard 
  1776.  
  1777.  
  1778.        Paste to mle from clipboard. (available on windows only) 
  1779.  
  1780.        f=pastetomlefromclipboard(Hwnd[,Type]) 
  1781.  
  1782.        Hwnd  - window handle of the MLE 
  1783.        Type  - optional - default "TEXT" 
  1784.        can be one of - 
  1785.        "TEXT" - Text Format 
  1786.        "RTF" - Rich Text Format 
  1787.        "RTFNOOBJECTS" - Rich Text Format Without Objects 
  1788.        "RTFOBJECTS" - RichEdit Text and Objects 
  1789.  
  1790.        This function requires a licensed copy of "Modular And Integrated 
  1791.       Design" to be installed. 
  1792.  
  1793.        Contents. 
  1794.        Section 01 File Functions. 
  1795.  
  1796.  
  1797. ΓòÉΓòÉΓòÉ 69. pastetofilefrommle ΓòÉΓòÉΓòÉ
  1798.  
  1799.  pastetofilefrommle 
  1800.  
  1801.  
  1802.        Paste to file from mle. (available on windows only) 
  1803.  
  1804.        f=pastetofilefrommle(Hwnd,Filename[,Type]) 
  1805.  
  1806.        Hwnd  - window handle of the MLE 
  1807.        Filename  - file to copy from 
  1808.        Type  - optional - default "TEXT" 
  1809.        can be one of - 
  1810.        "TEXT" - Text Format 
  1811.        "RTF" - Rich Text Format 
  1812.        "RTFNOOBJECTS" - Rich Text Format Without Objects 
  1813.        "RTFOBJECTS" - RichEdit Text and Objects 
  1814.  
  1815.        This function requires a licensed copy of "Modular And Integrated 
  1816.       Design" to be installed. 
  1817.  
  1818.        Contents. 
  1819.        Section 01 File Functions. 
  1820.  
  1821.  
  1822. ΓòÉΓòÉΓòÉ 70. pastetofilefromclipboard ΓòÉΓòÉΓòÉ
  1823.  
  1824.  pastetofilefromclipboard 
  1825.  
  1826.  
  1827.        Paste to file from clipboard. (available on windows only) 
  1828.  
  1829.        f=pastetofilefromclipboard(Filename[,Type]) 
  1830.  
  1831.        Filename  - file to copy from 
  1832.        Type  - optional - default "TEXT" 
  1833.        can be one of - 
  1834.        "TEXT" - Text Format 
  1835.        "RTF" - Rich Text Format 
  1836.        "RTFNOOBJECTS" - Rich Text Format Without Objects 
  1837.        "RTFOBJECTS" - RichEdit Text and Objects 
  1838.  
  1839.        This function requires a licensed copy of "Modular And Integrated 
  1840.       Design" to be installed. 
  1841.  
  1842.        Contents. 
  1843.        Section 01 File Functions. 
  1844.  
  1845.  
  1846. ΓòÉΓòÉΓòÉ 71. changemleselectedcharformat ΓòÉΓòÉΓòÉ
  1847.  
  1848.  changemleselectedcharformat 
  1849.  
  1850.  
  1851.        Change mle selected character format.. (available on windows only) 
  1852.  
  1853.        f=changemleselectedcharformat(Hwnd,Red,Green,Blue[,SelType[,Font]]) 
  1854.  
  1855.        Hwnd  - window handle of the MLE 
  1856.        Red  - red component of color can be in range 0 to 255 
  1857.        Green  - green component of color can be in range 0 to 255 
  1858.        Blue  - blue component of color can be in range 0 to 255 
  1859.        SelType  - optional - selection type default "SELECTION" 
  1860.        can be one of - 
  1861.        "SELECTION" - Text in selected area is changed 
  1862.        "WORD" - Word selected is changed 
  1863.        Font  - optional - Font type and style and size default "" - no change 
  1864.        eg - format FaceName.Family.Style.Size 
  1865.        example "Times New Roman.Italic.14" 
  1866.        FaceName - name of font eg "Times New Roman" "Ariel" 
  1867.        Family - "Modern" - "Roman" - "Script" - "Helv" - "System" - 
  1868.       "Decorative" 
  1869.        Style - "Italic" - "Underscore" - "Strikeout" - "Bold"- "Heavy" (same as 
  1870.       "Bold") 
  1871.        Size - point size 
  1872.  
  1873.        This function requires a licensed copy of "Modular And Integrated 
  1874.       Design" to be installed. 
  1875.  
  1876.        Contents. 
  1877.        Section 01 File Functions. 
  1878.  
  1879.  
  1880. ΓòÉΓòÉΓòÉ 72. Section 02 Directory Functions ΓòÉΓòÉΓòÉ
  1881.  
  1882.  Section 02 - Directory Functions 
  1883.  
  1884.  
  1885.        cd   Changes current directory to NewDirectory. 
  1886.        md   Creates directory NewDirectory. 
  1887.        rd   Removes Directory. 
  1888.        dirfile   Creates File containing info on Directory\Pattern. 
  1889.        dirstem   Creates StemVariable containing file info on 
  1890.       Directory\Pattern. 
  1891.        dirfiledir   Creates File containing directory file info on 
  1892.       Directory\Pattern. 
  1893.        dirstemdir   Creates StemVariable containing directory info on 
  1894.       Directory\Pattern. 
  1895.        getshellfolders   Gets all Shell Folders into StemVariable. 
  1896.        gettempdir   Gets Temp Directory Pathname 
  1897.        getcurrentdir   Gets current directory. 
  1898.        getdesktopdir   Gets directory for desktop. 
  1899.        getdrives   Gets list of logical drives into a Stem Variable. 
  1900.        existdir*   Tests existance of a directory. 
  1901.  
  1902.        Contents. 
  1903.  
  1904.  
  1905. ΓòÉΓòÉΓòÉ 73. cd ΓòÉΓòÉΓòÉ
  1906.  
  1907.  cd 
  1908.  
  1909.  
  1910.        Changes current directory to Directory . 
  1911.  
  1912.        f=cd(Directory) 
  1913.  
  1914.        Directory  - name of directory 
  1915.  
  1916.        Contents. 
  1917.        Section 02 Directory Functions. 
  1918.  
  1919.  
  1920. ΓòÉΓòÉΓòÉ 74. md ΓòÉΓòÉΓòÉ
  1921.  
  1922.  md 
  1923.  
  1924.  
  1925.        Creates directory NewDirectory . 
  1926.  
  1927.        f=md(NewDirectory) 
  1928.  
  1929.        NewDirectory  - name of new directory 
  1930.  
  1931.        Contents. 
  1932.        Section 02 Directory Functions. 
  1933.  
  1934.  
  1935. ΓòÉΓòÉΓòÉ 75. rd ΓòÉΓòÉΓòÉ
  1936.  
  1937.  rd 
  1938.  
  1939.  
  1940.        Removes Directory . 
  1941.  
  1942.        f=rd(Directory) 
  1943.  
  1944.        Directory  - name of directory 
  1945.  
  1946.        Contents. 
  1947.        Section 02 Directory Functions. 
  1948.  
  1949.  
  1950. ΓòÉΓòÉΓòÉ 76. dirfile ΓòÉΓòÉΓòÉ
  1951.  
  1952.  dirfile 
  1953.  
  1954.  
  1955.        Creates StemVariable containing file info on Directory . 
  1956.  
  1957.        f=dirfile(Directory[ /s],Filename[ +]) 
  1958.  
  1959.        Directory  - name of directory with optional wild card characters (* and 
  1960.       ?) - append string ' /s' to include sub-directories 
  1961.        Filename  - name of file to place results in 
  1962.        [ +]  - optional ' +' at end of  the filename appends results to the 
  1963.       file , otherwise a new file is created. 
  1964.  
  1965.        Contents. 
  1966.        Section 02 Directory Functions. 
  1967.  
  1968.  
  1969. ΓòÉΓòÉΓòÉ 77. dirstem ΓòÉΓòÉΓòÉ
  1970.  
  1971.  dirstem 
  1972.  
  1973.  
  1974.        Creates StemVariable containing file info on Directory . 
  1975.  
  1976.        f=dirstem(Directory[ /s],StemVariable) 
  1977.  
  1978.        Directory  - name of directory with optional wild card characters (* and 
  1979.       ?) - append string ' /s' to include sub-directories 
  1980.        StemVariable  - name of Stem Variable to place results in 
  1981.        For files 
  1982.        STEM.DIR directory being searched 
  1983.        STEM.0 -  number of file entries 
  1984.        STEM.CREATIONTIME.i - Creation time for file i 
  1985.        STEM.LASTACCESSTIME.i - Last access time for file i 
  1986.        STEM.LASTWRITETIME.i - Last write time for file i 
  1987.        STEM.NAME.i - Name of file i 
  1988.        STEM.SHORTNAME.i - Short name of file i 
  1989.        STEM.SIZE.i - Size of file i 
  1990.        STEM.SIZEHIGH.i - Size High of file i 
  1991.  
  1992.        Examples  - 
  1993.        f=dirstem("C:\MAID","STEM1") 
  1994.        say STEM1.DIR 
  1995.        do i=1 to STEM1.0 
  1996.        say STEM1.CREATIONTIME.i 
  1997.        say STEM1.LASTACCESSTIME.i 
  1998.        say STEM1.LASTWRITETIME.i 
  1999.        say STEM1.NAME.i 
  2000.        say STEM1.SHORTNAME.i 
  2001.        say STEM1.SIZE.i 
  2002.        say STEM1.SIZEHIGH.i 
  2003.        end 
  2004.  
  2005.  
  2006.        Contents. 
  2007.        Section 02 Directory Functions. 
  2008.  
  2009.  
  2010. ΓòÉΓòÉΓòÉ 78. dirfiledir ΓòÉΓòÉΓòÉ
  2011.  
  2012.  dirfiledir 
  2013.  
  2014.  
  2015.        Creates StemVariable containing directory info on Directory . 
  2016.  
  2017.        f=dirfiledir(Directory[ /s],Filename[ +]) 
  2018.  
  2019.        Directory  - name of directory with optional wild card characters (* and 
  2020.       ?) - append string ' /s' to include sub-directories 
  2021.        Filename  - name of file to place results in 
  2022.        [ +]  - optional ' +' at end of  the filename appends results to the 
  2023.       file , otherwise a new file is created. 
  2024.  
  2025.        Contents. 
  2026.        Section 02 Directory Functions. 
  2027.  
  2028.  
  2029. ΓòÉΓòÉΓòÉ 79. dirstemdir ΓòÉΓòÉΓòÉ
  2030.  
  2031.  dirstemdir 
  2032.  
  2033.  
  2034.        Creates StemVariable containing directory info on Directory . 
  2035.  
  2036.        f=dirstemdir(Directory[ /s],StemVariable) 
  2037.  
  2038.        Directory  - name of directory with optional wild card characters (* and 
  2039.       ?) - append string ' /s' to include sub-directories 
  2040.        StemVariable  - name of Stem Variable to place results in 
  2041.        STEM.DIR directory being searched 
  2042.        STEM.DIR.0 number of directory entries 
  2043.        STEM.DIR.CREATIONTIME.i - Creation time for directory i 
  2044.        STEM.DIR.LASTACCESSTIME.i - Last access time for directory i 
  2045.        STEM.DIR.LASTWRITETIME.i - Last write time for directory i 
  2046.        STEM.DIR.NAME.i - Name of directory i 
  2047.        STEM.DIR.SHORTNAME.i - Short name of directory i 
  2048.        STEM.DIR.SIZE.i - Size of directory i 
  2049.        STEM.DIR.SIZEHIGH.i - Size High of directory i 
  2050.  
  2051.        Examples  - 
  2052.        f=dirstem("C:\MAID","STEM1") 
  2053.        say STEM1.DIR 
  2054.        do i=1 to STEM1.DIR.0 
  2055.        say STEM1.DIR.CREATIONTIME.i 
  2056.        say STEM1.DIR.LASTACCESSTIME.i 
  2057.        say STEM1.DIR.LASTWRITETIME.i 
  2058.        say STEM1.DIR.NAME.i 
  2059.        say STEM1.DIR.SHORTNAME.i 
  2060.        say STEM1.DIR.SIZE.i 
  2061.        say STEM1.DIR.SIZEHIGH.i 
  2062.        end 
  2063.  
  2064.  
  2065.        Contents. 
  2066.        Section 02 Directory Functions. 
  2067.  
  2068.  
  2069. ΓòÉΓòÉΓòÉ 80. getshellfolders ΓòÉΓòÉΓòÉ
  2070.  
  2071.  getshellfolders 
  2072.  
  2073.  
  2074.        Gets all Shell Folders into StemVariable . 
  2075.  
  2076.        f=getshellfolders(StemVariable) 
  2077.  
  2078.        StemVariable  - name Stem Variable to place results in 
  2079.        STEM.0 number of folder entries 
  2080.        STEM.FOLDER.i - Folder Name i 
  2081.        STEM.DIR.i - Folder Directory i 
  2082.  
  2083.        Folders are listed from entries in the key 
  2084.       HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell 
  2085.       Folders 
  2086.  
  2087.        Contents. 
  2088.        Section 02 Directory Functions. 
  2089.  
  2090.  
  2091. ΓòÉΓòÉΓòÉ 81. gettempdir ΓòÉΓòÉΓòÉ
  2092.  
  2093.  gettempdir 
  2094.  
  2095.  
  2096.        Gets Temp Directory Pathname . 
  2097.  
  2098.        temppath=gettempdir() 
  2099.  
  2100.        No Arguments 
  2101.  
  2102.        Contents. 
  2103.        Section 02 Directory Functions. 
  2104.  
  2105.  
  2106. ΓòÉΓòÉΓòÉ 82. getcurrentdir ΓòÉΓòÉΓòÉ
  2107.  
  2108.  getcurrentdir 
  2109.  
  2110.  
  2111.        Gets current directory 
  2112.  
  2113.        currentdir=getcurrentdir() 
  2114.  
  2115.        No Arguments 
  2116.  
  2117.        Contents. 
  2118.        Section 02 Directory Functions. 
  2119.  
  2120.  
  2121. ΓòÉΓòÉΓòÉ 83. getdesktopdir ΓòÉΓòÉΓòÉ
  2122.  
  2123.  getdesktopdir 
  2124.  
  2125.  
  2126.        Gets directory for desktop 
  2127.  
  2128.        desktopdir=getdesktopdir() 
  2129.  
  2130.        No Arguments 
  2131.  
  2132.        Contents. 
  2133.        Section 02 Directory Functions. 
  2134.  
  2135.  
  2136. ΓòÉΓòÉΓòÉ 84. getdrives ΓòÉΓòÉΓòÉ
  2137.  
  2138.  getdrives 
  2139.  
  2140.  
  2141.        Gets list of logical drives into a Stem Variable 
  2142.  
  2143.        f=getdrives(StemVariable) 
  2144.  
  2145.        StemVariable  - name Stem Variable to place results in 
  2146.  
  2147.        Contents. 
  2148.        Section 02 Directory Functions. 
  2149.  
  2150.  
  2151. ΓòÉΓòÉΓòÉ 85. existdir ΓòÉΓòÉΓòÉ
  2152.  
  2153.  existdir 
  2154.  
  2155.  
  2156.        Tests existance of a directory. 
  2157.  
  2158.        f=existdir(Directory) 
  2159.  
  2160.        Directory  - name of directory 
  2161.        Returns NULL if the directory does not exist, else returns the directory 
  2162.  
  2163.        This function requires a licensed copy of "Modular And Integrated 
  2164.       Design" to be installed. 
  2165.  
  2166.        Contents. 
  2167.        Section 02 Directory Functions. 
  2168.  
  2169.  
  2170. ΓòÉΓòÉΓòÉ 86. Section 03 Search Functions ΓòÉΓòÉΓòÉ
  2171.  
  2172.  Section 03 - Search Functions 
  2173.  
  2174.  
  2175.        searchcaseon   Makes string searches in findstring case sensitive. 
  2176.        searchcaseoff   Makes string searches in findstring non case sensitive. 
  2177.        findstringtofile   Seaches All files matching FilenamePattern for 
  2178.       SearchString to Filename. 
  2179.        findstringtostem   Seaches All files matching FilenamePattern for 
  2180.       SearchString to Stem Variable. 
  2181.        changestring   Replaces ReplaceString with NewString according to 
  2182.       StringInfo. 
  2183.        filenamefrominfo*   Gets filename from StringInfo. 
  2184.        startposfrominfo*   Gets start position from StringInfo. 
  2185.        endposfrominfo*   Gets end position from StringInfo. 
  2186.  
  2187.        Contents. 
  2188.  
  2189.  
  2190. ΓòÉΓòÉΓòÉ 87. searchcaseon ΓòÉΓòÉΓòÉ
  2191.  
  2192.  searchcaseon 
  2193.  
  2194.  
  2195.        Makes string searches in findstring case sensitive . 
  2196.  
  2197.        f=searchcaseon() 
  2198.  
  2199.        No Arguments 
  2200.  
  2201.        Contents. 
  2202.        Section 03 Search Functions. 
  2203.  
  2204.  
  2205. ΓòÉΓòÉΓòÉ 88. searchcaseoff ΓòÉΓòÉΓòÉ
  2206.  
  2207.  searchcaseoff 
  2208.  
  2209.  
  2210.        Makes string searches in findstring non case sensitive . 
  2211.  
  2212.        f=searchcaseoff() 
  2213.  
  2214.        No Arguments 
  2215.  
  2216.        Contents. 
  2217.        Section 03 Search Functions. 
  2218.  
  2219.  
  2220. ΓòÉΓòÉΓòÉ 89. findstringtofile ΓòÉΓòÉΓòÉ
  2221.  
  2222.  findstringtofile 
  2223.  
  2224.  
  2225.        Searches All files matching FilenamePattern for SearchString up to Count 
  2226.       times per file. If Count left out all occurrences found. Results in 
  2227.       Filename . 
  2228.  
  2229.        The following are character sequences that represent special keys - 
  2230.        {SHIFT} {CONTROL} {ALT} {LSHIFT} {RSHIFT} {LCONTROL} {RCONTROL} {LALT} 
  2231.       {RALT} 
  2232.        {LBUTTON} {RBUTTON} {CANCEL} {MBUTTON} {BACK} {TAB} {CLEAR} {PAUSE} 
  2233.        {RETURN} {CR} {LINEFEED} {LF} 
  2234.        {CAPITAL} {ESCAPE} {SPACE} {PRIOR} {NEXT} {END} {HOME} {LEFT} {UP} 
  2235.       {RIGHT} {DOWN} 
  2236.        {SELECT} {PRINT} {EXECUTE} {SNAPSHOT} {INSERT} {DELETE} {HELP} {LWIN} 
  2237.       {RWIN} {APPS} 
  2238.        {NUMPAD0} {NUMPAD1} {NUMPAD2} {NUMPAD3} {NUMPAD4} {NUMPAD5} {NUMPAD6} 
  2239.       {NUMPAD7} 
  2240.        {NUMPAD8} {NUMPAD9} {MULTIPLY} {ADD} {SEPARATOR} {SUBTRACT} {DECIMAL} 
  2241.       {DIVIDE} 
  2242.        {F1} {F2} {F3} {F4} {F5} {F6} {F7} {F8} {F9} {F10} {F11} {F12} {F13} 
  2243.       {F14} {F15} 
  2244.        {F16} {F17} {F18} {F19} {F20} {F21} {F22} {F23} {F24} 
  2245.        {NUMLOCK} {SCROLL} {PROCESSKEY} {ATTN} {CRSEL} {EXSEL} {EREOF} {PLAY} 
  2246.        {ZOOM} {NONAME} {PA1} {OEM_CLEAR} . 
  2247.  
  2248.        {{} represents the { character 
  2249.        {}} represents the } charter 
  2250.        "" represents the " character 
  2251.  
  2252.        {r,n} where n and r are integers - repeats the next n characters r times 
  2253.        To search for multiple characters place '{r[,n]}' before the character 
  2254.       where r is the number of repeats 
  2255.        and n is an optional number of characters to repeat - default for n is 
  2256.       1. 
  2257.        i.e. 
  2258.        {4}{SPACE} will search for 4 spaces 
  2259.        {5,2}{CR}{LF} will search for 5 carriage-return line-feeds. 
  2260.  
  2261.        {...} represents any text between two search patterns 
  2262.  
  2263.        {...Char1-Char2} represents any text between two search patterns with 
  2264.       chars in the range Char1 to Char2 
  2265.        i.e. {...A-Z} represents a string of any length of upper case alpha 
  2266.       characters 
  2267.  
  2268.        {...!Char1-Char2} represents any text between two search patterns with 
  2269.       chars NOT in the range Char1 to Char2 
  2270.        i.e. {...!A-Z} represents a string of any length that does not contain 
  2271.       upper case alpha characters 
  2272.  
  2273.        {...Char} represents any text between two search patterns consisting 
  2274.       entirely of the character Char 
  2275.        i.e. {...A} represents a string of any length consisting entirely of the 
  2276.       character A 
  2277.  
  2278.        {...!Char} represents any text between two search patterns that does not 
  2279.       contain the character Char 
  2280.        i.e. {...!A} represents a string of any length that does not contain the 
  2281.       character A 
  2282.  
  2283.        {...CharString} represents any text between two search patterns with 
  2284.       chars in the string CharString 
  2285.        i.e. {...who} represents a string of any length that contains only the 
  2286.       characters 'w' or 'h' or 'o' 
  2287.  
  2288.        {...!CharString} represents any text between two search patterns with 
  2289.       chars that are not in the string CharString 
  2290.        i.e. {...!who} represents a string of any length that does not contain 
  2291.       the characters 'w' or 'h' or 'o' 
  2292.  
  2293.        NULLS are replaced with spaces to allow for text searches in binary 
  2294.       files. 
  2295.  
  2296.        f=findstringtofile(SearchString,Directory[ /s],Filename[ 
  2297.       +][,StartPos,EndPos][,Count]) 
  2298.  
  2299.        SearchString  - string to search for - concatenate {EOF} to the string 
  2300.       to find a match at the end of the file 
  2301.        Directory  - name of directory with optional wild card characters (* and 
  2302.       ?) - append string ' /s' to include sub-directories. Can also be a 
  2303.       Filename 
  2304.        Filename  - name of file containing the results 
  2305.        [ +]  - optional ' +' at end of  the filename appends results to the 
  2306.       file , otherwise a new file is created. 
  2307.        StartPos* EndPos* - optional start/end position for search - both 
  2308.       options must be given - default start of file/end of file - an EndPos of 
  2309.       0 indicates end of file - (option requires a licensed copy of "Modular 
  2310.       And Integrated Design" to be installed) 
  2311.        Count  - optional count to limit the number of occurrences found 
  2312.  
  2313.        Contents. 
  2314.        Section 03 Search Functions. 
  2315.  
  2316.  
  2317. ΓòÉΓòÉΓòÉ 90. findstringtostem ΓòÉΓòÉΓòÉ
  2318.  
  2319.  findstringtostem 
  2320.  
  2321.  
  2322.        Searches All files matching FilenamePattern for SearchString up to Count 
  2323.       times per file. If Count left out all occurrences found. Results in Stem 
  2324.       Variable . 
  2325.  
  2326.        The following are character sequences that represent special keys - 
  2327.        {SHIFT} {CONTROL} {ALT} {LSHIFT} {RSHIFT} {LCONTROL} {RCONTROL} {LALT} 
  2328.       {RALT} 
  2329.        {LBUTTON} {RBUTTON} {CANCEL} {MBUTTON} {BACK} {TAB} {CLEAR} {PAUSE} 
  2330.        {RETURN} {CR} {LINEFEED} {LF} 
  2331.        {CAPITAL} {ESCAPE} {SPACE} {PRIOR} {NEXT} {END} {HOME} {LEFT} {UP} 
  2332.       {RIGHT} {DOWN} 
  2333.        {SELECT} {PRINT} {EXECUTE} {SNAPSHOT} {INSERT} {DELETE} {HELP} {LWIN} 
  2334.       {RWIN} {APPS} 
  2335.        {NUMPAD0} {NUMPAD1} {NUMPAD2} {NUMPAD3} {NUMPAD4} {NUMPAD5} {NUMPAD6} 
  2336.       {NUMPAD7} 
  2337.        {NUMPAD8} {NUMPAD9} {MULTIPLY} {ADD} {SEPARATOR} {SUBTRACT} {DECIMAL} 
  2338.       {DIVIDE} 
  2339.        {F1} {F2} {F3} {F4} {F5} {F6} {F7} {F8} {F9} {F10} {F11} {F12} {F13} 
  2340.       {F14} {F15} 
  2341.        {F16} {F17} {F18} {F19} {F20} {F21} {F22} {F23} {F24} 
  2342.        {NUMLOCK} {SCROLL} {PROCESSKEY} {ATTN} {CRSEL} {EXSEL} {EREOF} {PLAY} 
  2343.        {ZOOM} {NONAME} {PA1} {OEM_CLEAR} . 
  2344.  
  2345.        {{} represents the { character 
  2346.        {}} represents the } character 
  2347.        "" represents the " character 
  2348.  
  2349.        {r,n} where n and r are integers - repeats the next n characters r times 
  2350.        To search for multiple characters place '{r[,n]}' before the character 
  2351.       where r is the number of repeats 
  2352.        and n is an optional number of characters to repeat - default for n is 
  2353.       1. 
  2354.        i.e. 
  2355.        {4}{SPACE} will search for 4 spaces 
  2356.        {5,2}{CR}{LF} will search for 5 carriage-return line-feeds. 
  2357.  
  2358.        {...} represents any text between two search patterns 
  2359.  
  2360.        {...Char1-Char2} represents any text between two search patterns with 
  2361.       chars in the range Char1 to Char2 
  2362.        i.e. {...A-Z} represents a string of any length of upper case alpha 
  2363.       characters 
  2364.  
  2365.        {...!Char1-Char2} represents any text between two search patterns with 
  2366.       chars NOT in the range Char1 to Char2 
  2367.        i.e. {...!A-Z} represents a string of any length that does not contain 
  2368.       upper case alpha characters 
  2369.  
  2370.        {...Char} represents any text between two search patterns consisting 
  2371.       entirely of the character Char 
  2372.        i.e. {...A} represents a string of any length consisting entirely of the 
  2373.       character A 
  2374.  
  2375.        {...!Char} represents any text between two search patterns that does not 
  2376.       contain the character Char 
  2377.        i.e. {...!A} represents a string of any length that does not contain the 
  2378.       character A 
  2379.  
  2380.        {...CharString} represents any text between two search patterns with 
  2381.       chars in the string CharString 
  2382.        i.e. {...who} represents a string of any length that contains only the 
  2383.       characters 'w' or 'h' or 'o' 
  2384.  
  2385.        {...!CharString} represents any text between two search patterns with 
  2386.       chars that are not in the string CharString 
  2387.        i.e. {...!who} represents a string of any length that does not contain 
  2388.       the characters 'w' or 'h' or 'o' 
  2389.  
  2390.        NULLS are replaced with spaces to allow for text searches in binary 
  2391.       files. 
  2392.  
  2393.        f=findstringtostem(SearchString,Directory[ 
  2394.       /s],StemVariable[,StartPos,EndPos][,Count]) 
  2395.  
  2396.        SearchString  - string to search for - concatenate {EOF} to the string 
  2397.       to find a match at the end of the file 
  2398.        Directory  - name of directory with optional wild card characters (* and 
  2399.       ?) - append string ' /s' to include sub-directories 
  2400.        StemVariable  - name of stem variable containing the results 
  2401.        StemVariable.0 number of results 
  2402.        StemVariable.1 first result 
  2403.        . . . 
  2404.        StemVariable.N Nth result 
  2405.        StartPos* EndPos* - optional start/end position for search - both 
  2406.       options must be given - default start of file/end of file - an EndPos of 
  2407.       0 indicates end of file - (option requires a licensed copy of "Modular 
  2408.       And Integrated Design" to be installed) 
  2409.        Count  - optional count to limit the number of occurrences found 
  2410.  
  2411.        Contents. 
  2412.        Section 03 Search Functions. 
  2413.  
  2414.  
  2415. ΓòÉΓòÉΓòÉ 91. changestring ΓòÉΓòÉΓòÉ
  2416.  
  2417.  changestring 
  2418.  
  2419.  
  2420.        Replaces ReplaceString with NewString according to StringInfo. 
  2421.       StringInfo is a line of find information returned by findstringtofile or 
  2422.       findstringtostem . 
  2423.  
  2424.        The following are character sequences that represent special keys - 
  2425.        {SHIFT} {CONTROL} {ALT} {LSHIFT} {RSHIFT} {LCONTROL} {RCONTROL} {LALT} 
  2426.       {RALT} 
  2427.        {LBUTTON} {RBUTTON} {CANCEL} {MBUTTON} {BACK} {TAB} {CLEAR} {PAUSE} 
  2428.        {RETURN} {CR} {LINEFEED} {LF} 
  2429.        {CAPITAL} {ESCAPE} {SPACE} {PRIOR} {NEXT} {END} {HOME} {LEFT} {UP} 
  2430.       {RIGHT} {DOWN} 
  2431.        {SELECT} {PRINT} {EXECUTE} {SNAPSHOT} {INSERT} {DELETE} {HELP} {LWIN} 
  2432.       {RWIN} {APPS} 
  2433.        {NUMPAD0} {NUMPAD1} {NUMPAD2} {NUMPAD3} {NUMPAD4} {NUMPAD5} {NUMPAD6} 
  2434.       {NUMPAD7} 
  2435.        {NUMPAD8} {NUMPAD9} {MULTIPLY} {ADD} {SEPARATOR} {SUBTRACT} {DECIMAL} 
  2436.       {DIVIDE} 
  2437.        {F1} {F2} {F3} {F4} {F5} {F6} {F7} {F8} {F9} {F10} {F11} {F12} {F13} 
  2438.       {F14} {F15} 
  2439.        {F16} {F17} {F18} {F19} {F20} {F21} {F22} {F23} {F24} 
  2440.        {NUMLOCK} {SCROLL} {PROCESSKEY} {ATTN} {CRSEL} {EXSEL} {EREOF} {PLAY} 
  2441.        {ZOOM} {NONAME} {PA1} {OEM_CLEAR} . 
  2442.  
  2443.        {{} represents the { character 
  2444.        {}} represents the } character 
  2445.        "" represents the " character 
  2446.  
  2447.        {r,n} where n and r are integers - repeats the next n characters r times 
  2448.        To search for multiple characters place '{r[,n]}' before the character 
  2449.       where r is the number of repeats 
  2450.        and n is an optional number of characters to repeat - default for n is 
  2451.       1. 
  2452.        i.e. 
  2453.        {4}{SPACE} will search for 4 spaces 
  2454.        {5,2}{CR}{LF} will search for 5 carriage-return line-feeds. 
  2455.  
  2456.        {...} represents any text between two search patterns 
  2457.  
  2458.        {...Char1-Char2} represents any text between two search patterns with 
  2459.       chars in the range Char1 to Char2 
  2460.        i.e. {...A-Z} represents a string of any length of upper case alpha 
  2461.       characters 
  2462.  
  2463.        {...!Char1-Char2} represents any text between two search patterns with 
  2464.       chars NOT in the range Char1 to Char2 
  2465.        i.e. {...!A-Z} represents a string of any length that does not contain 
  2466.       upper case alpha characters 
  2467.  
  2468.        {...Char} represents any text between two search patterns consisting 
  2469.       entirely of the character Char 
  2470.        i.e. {...A} represents a string of any length consisting entirely of the 
  2471.       character A 
  2472.  
  2473.        {...!Char} represents any text between two search patterns that does not 
  2474.       contain the character Char 
  2475.        i.e. {...!A} represents a string of any length that does not contain the 
  2476.       character A 
  2477.  
  2478.        {...CharString} represents any text between two search patterns with 
  2479.       chars in the string CharString 
  2480.        i.e. {...who} represents a string of any length that contains only the 
  2481.       characters 'w' or 'h' or 'o' 
  2482.  
  2483.        {...!CharString} represents any text between two search patterns with 
  2484.       chars that are not in the string CharString 
  2485.        i.e. {...!who} represents a string of any length that does not contain 
  2486.       the characters 'w' or 'h' or 'o' 
  2487.  
  2488.        f=changestring(StringInfo,ReplaceString,NewString[,OffsetVariable]) 
  2489.  
  2490.        StringInfo  - line of information from findstringtofile or 
  2491.       findstringtostem 
  2492.        ReplaceString  - string to replace - pass an empty string ("") to 
  2493.       replace the entire string defined in StringInfo 
  2494.        NewString  - new string to replace replacestring - {...} and 
  2495.       {...Char1-Char2} are ignored and have no meaning in NewString 
  2496.        OffsetVariable  - optional - name of offset variable which contains an 
  2497.       offset - adds this offset to the replace string position before doing the 
  2498.       change - after the change this offset is updated to reflect the new 
  2499.       change 
  2500.  
  2501.        Contents. 
  2502.        Section 03 Search Functions. 
  2503.  
  2504.  
  2505. ΓòÉΓòÉΓòÉ 92. filenamefrominfo ΓòÉΓòÉΓòÉ
  2506.  
  2507.  filenamefrominfo 
  2508.  
  2509.  
  2510.        Gets start position from StringInfo. 
  2511.  
  2512.        FileName=filenamefrominfo(StringInfo) 
  2513.  
  2514.        StringInfo  - line of information from findstringtofile or 
  2515.       findstringtostem 
  2516.        FileName  - filename in stringinfo - returns -1 if not found 
  2517.  
  2518.        This function requires a licensed copy of "Modular And Integrated 
  2519.       Design" to be installed. 
  2520.  
  2521.        Contents. 
  2522.        Section 03 Search Functions. 
  2523.  
  2524.  
  2525. ΓòÉΓòÉΓòÉ 93. startposfrominfo ΓòÉΓòÉΓòÉ
  2526.  
  2527.  startposfrominfo 
  2528.  
  2529.  
  2530.        Gets start position from StringInfo. 
  2531.  
  2532.        StartPos=startposfrominfo(StringInfo) 
  2533.  
  2534.        StringInfo  - line of information from findstringtofile or 
  2535.       findstringtostem 
  2536.        StartPos  - start position in stringinfo - returns -1 if not found 
  2537.  
  2538.        This function requires a licensed copy of "Modular And Integrated 
  2539.       Design" to be installed. 
  2540.  
  2541.        Contents. 
  2542.        Section 03 Search Functions. 
  2543.  
  2544.  
  2545. ΓòÉΓòÉΓòÉ 94. endposfrominfo ΓòÉΓòÉΓòÉ
  2546.  
  2547.  endposfrominfo 
  2548.  
  2549.  
  2550.        Gets start position from StringInfo. 
  2551.  
  2552.        EndPos=endposfrominfo(StringInfo) 
  2553.  
  2554.        StringInfo  - line of information from findstringtofile or 
  2555.       findstringtostem 
  2556.        EndPos  - end position in stringinfo - returns -1 if not found 
  2557.  
  2558.        This function requires a licensed copy of "Modular And Integrated 
  2559.       Design" to be installed. 
  2560.  
  2561.        Contents. 
  2562.        Section 03 Search Functions. 
  2563.  
  2564.  
  2565. ΓòÉΓòÉΓòÉ 95. Section 04 Windows Functions ΓòÉΓòÉΓòÉ
  2566.  
  2567.  Section 04 - Window Functions 
  2568.  
  2569.  
  2570.        toplevelwindowlist   List all Top Level Windows in Stem Variable. 
  2571.        getwindow   Return handle of window with title. 
  2572.        getwindowwithchild*   Return handle of window with title that contains 
  2573.       child with text. 
  2574.        sendwindowtext   Send text to window. 
  2575.        sendwindowfile*   Send contents of file to window. 
  2576.        setwindowpos   Set window position. 
  2577.        getwindowpos   Get window position. 
  2578.        setwindowtopmost*   Place window above all non-topmost windows. 
  2579.        setwindownormal*   Place window above all non-topmost windows ,behind 
  2580.       all topmost windows. 
  2581.        setwindowbottom*   Place window at bottom of Z order. 
  2582.        getforegroundwindow*   Get window in the foreground. 
  2583.        setforegroundwindow*   Place window in the foreground. 
  2584.        getwindowtitle*   Get window title. 
  2585.        setwindowtitle*   Set window title. 
  2586.        getwindowvariable*   Get contents of a window to a variable. 
  2587.        getwindowfile*   Get contents of a window to a file. 
  2588.  
  2589.        Contents. 
  2590.  
  2591.  
  2592. ΓòÉΓòÉΓòÉ 96. toplevelwindowlist ΓòÉΓòÉΓòÉ
  2593.  
  2594.  toplevelwindowlist 
  2595.  
  2596.  
  2597.        List all Top Level Windows in StemVariable 
  2598.  
  2599.        f=toplevelwindowlist(StemVariable) 
  2600.  
  2601.        StemVariable.0 number of windows N 
  2602.        StemVariable.TITLE.1 title of first window 
  2603.        StemVariable.HWND.1 window handle of first window 
  2604.        . . . 
  2605.        StemVariable.TITLE.N title of Nth window 
  2606.        StemVariable.HWND.N window handle of Nth window . 
  2607.  
  2608.        StemVariable  - name Stem Variable to place results in 
  2609.  
  2610.        Contents. 
  2611.        Section 04 Windows Functions. 
  2612.  
  2613.  
  2614. ΓòÉΓòÉΓòÉ 97. getwindow ΓòÉΓòÉΓòÉ
  2615.  
  2616.  getwindow 
  2617.  
  2618.  
  2619.        Return handle of window with title. 
  2620.  
  2621.        hwnd=getwindow(Title[,ChildText]) 
  2622.  
  2623.        Title  - title of window to find 
  2624.        ChildText  - text of child window to find 
  2625.        hwnd - window handle of window, 0 if window does not exist 
  2626.        Title - Title of the Window 
  2627.        ChildText - If ChildText (optional) is passed the child window handle of 
  2628.        the window containing "ChildText" in the window with title set 
  2629.        to "Title" is passed back 
  2630.  
  2631.        Contents. 
  2632.        Section 04 Windows Functions. 
  2633.  
  2634.  
  2635. ΓòÉΓòÉΓòÉ 98. getwindowwithchild ΓòÉΓòÉΓòÉ
  2636.  
  2637.  getwindowwithchild 
  2638.  
  2639.  
  2640.        Return handle of window with title that contains child with text . 
  2641.  
  2642.        hwnd=getwindowwithchild(Title,ChildText) 
  2643.  
  2644.        Title  - title of window to find 
  2645.        ChildText  - text of child window 
  2646.        hwnd - window handle of window, 0 if window does not exist 
  2647.        Title - Title of the Window 
  2648.        ChildText - Text of child window 
  2649.  
  2650.        Contents. 
  2651.        Section 04 Windows Functions. 
  2652.  
  2653.  
  2654. ΓòÉΓòÉΓòÉ 99. sendwindowtext ΓòÉΓòÉΓòÉ
  2655.  
  2656.  sendwindowtext 
  2657.  
  2658.  
  2659.        Send text to window. 
  2660.  
  2661.        f=sendwindowtext(hwnd,Text) 
  2662.  
  2663.        hwnd  - window handle returned by getwindow 
  2664.        Text  - text to send to the window 
  2665.        text can contain the following special character sequences - as in 
  2666.       getwindow . 
  2667.        The following are character sequences that represent special keys - 
  2668.        {SHIFT} {CONTROL} {ALT} {LSHIFT} {RSHIFT} {LCONTROL} {RCONTROL} {LALT} 
  2669.       {RALT} 
  2670.        {LBUTTON} {RBUTTON} {CANCEL} {MBUTTON} {BACK} {TAB} {CLEAR} {PAUSE} 
  2671.        {RETURN} {CR} {LINEFEED} {LF} 
  2672.        {CAPITAL} {ESCAPE} {SPACE} {PRIOR} {NEXT} {END} {HOME} {LEFT} {UP} 
  2673.       {RIGHT} {DOWN} 
  2674.        {SELECT} {PRINT} {EXECUTE} {SNAPSHOT} {INSERT} {DELETE} {HELP} {LWIN} 
  2675.       {RWIN} {APPS} 
  2676.        {NUMPAD0} {NUMPAD1} {NUMPAD2} {NUMPAD3} {NUMPAD4} {NUMPAD5} {NUMPAD6} 
  2677.       {NUMPAD7} 
  2678.        {NUMPAD8} {NUMPAD9} {MULTIPLY} {ADD} {SEPARATOR} {SUBTRACT} {DECIMAL} 
  2679.       {DIVIDE} 
  2680.        {F1} {F2} {F3} {F4} {F5} {F6} {F7} {F8} {F9} {F10} {F11} {F12} {F13} 
  2681.       {F14} {F15} 
  2682.        {F16} {F17} {F18} {F19} {F20} {F21} {F22} {F23} {F24} 
  2683.        {NUMLOCK} {SCROLL} {PROCESSKEY} {ATTN} {CRSEL} {EXSEL} {EREOF} {PLAY} 
  2684.        {ZOOM} {NONAME} {PA1} {OEM_CLEAR} . 
  2685.  
  2686.        {{} represents the { character 
  2687.        {}} represents the } character 
  2688.        "" represents the " character 
  2689.  
  2690.  
  2691.        Contents. 
  2692.        Section 04 Windows Functions. 
  2693.  
  2694.  
  2695. ΓòÉΓòÉΓòÉ 100. sendwindowfile ΓòÉΓòÉΓòÉ
  2696.  
  2697.  sendwindowfile 
  2698.  
  2699.  
  2700.        Send contents of file to window. 
  2701.  
  2702.        f=sendwindowtext(hwnd,Filename) 
  2703.  
  2704.        hwnd  - window handle returned by getwindow 
  2705.        Filename  - name of file whose contents will be place in the window. 
  2706.  
  2707.        This function requires a licensed copy of "Modular And Integrated 
  2708.       Design" to be installed. 
  2709.  
  2710.        Contents. 
  2711.        Section 04 Windows Functions. 
  2712.  
  2713.  
  2714. ΓòÉΓòÉΓòÉ 101. setwindowpos ΓòÉΓòÉΓòÉ
  2715.  
  2716.  setwindowpos 
  2717.  
  2718.  
  2719.        Sets window position. 
  2720.        stemvariable.X - position of top left corner 
  2721.        stemvariable.Y - position of top left corner 
  2722.        stemvariable.CX - width 
  2723.        stemvariable.CY - height 
  2724.        stemvariable.SHOW - "MAXIMIZED" or "MINIMIZED" or "NORMAL" or "HIDDEN" 
  2725.  
  2726.        f=setwindowpos(hwnd,StemVariable) 
  2727.  
  2728.        hwnd  - window handle returned by getwindow 
  2729.        StemVariable  - name Stem Variable to get placement information 
  2730.  
  2731.        Contents. 
  2732.        Section 04 Windows Functions. 
  2733.  
  2734.  
  2735. ΓòÉΓòÉΓòÉ 102. getwindowpos ΓòÉΓòÉΓòÉ
  2736.  
  2737.  getwindowpos 
  2738.  
  2739.  
  2740.        Gets window position. 
  2741.        stemvariable.X - position of top left corner 
  2742.        stemvariable.Y - position of top left corner 
  2743.        stemvariable.CX - width 
  2744.        stemvariable.CY - height 
  2745.        stemvariable.SHOW - "MAXIMIZED" or "MINIMIZED" or "NORMAL" or "HIDDEN" 
  2746.  
  2747.        f=getwindowpos(hwnd,StemVariable) 
  2748.  
  2749.        hwnd  - window handle returned by getwindow 
  2750.        StemVariable  - name Stem Variable to place results in 
  2751.  
  2752.        Contents. 
  2753.        Section 04 Windows Functions. 
  2754.  
  2755.  
  2756. ΓòÉΓòÉΓòÉ 103. setwindowtopmost ΓòÉΓòÉΓòÉ
  2757.  
  2758.  setwindowtopmost 
  2759.  
  2760.  
  2761.        Place window above all non-topmost windows  (available on windows only). 
  2762.  
  2763.        f=setwindowtopmost(hwnd[,Title]) 
  2764.  
  2765.        hwnd  - window handle returned by getwindow (can be NULL "" if a Title 
  2766.       is given) 
  2767.        Title  - optional title of window - if given hwnd is ignored 
  2768.  
  2769.        This function requires a licensed copy of "Modular And Integrated 
  2770.       Design" to be installed. 
  2771.  
  2772.        Contents. 
  2773.        Section 04 Windows Functions. 
  2774.  
  2775.  
  2776. ΓòÉΓòÉΓòÉ 104. setwindownormal ΓòÉΓòÉΓòÉ
  2777.  
  2778.  setwindownormal 
  2779.  
  2780.  
  2781.        Place window above all non-topmost windows ,behind all topmost windows 
  2782.       (available on windows only) . 
  2783.  
  2784.        f=setwindownormal(hwnd[,Title]) 
  2785.  
  2786.        hwnd  - window handle returned by getwindow (can be NULL "" if a Title 
  2787.       is given) 
  2788.        Title  - optional title of window - if given hwnd is ignored 
  2789.  
  2790.        This function requires a licensed copy of "Modular And Integrated 
  2791.       Design" to be installed. 
  2792.  
  2793.        Contents. 
  2794.        Section 04 Windows Functions. 
  2795.  
  2796.  
  2797. ΓòÉΓòÉΓòÉ 105. setwindowbottom ΓòÉΓòÉΓòÉ
  2798.  
  2799.  setwindowbottom 
  2800.  
  2801.  
  2802.        Place window at bottom of Z order  (available on windows only) . 
  2803.  
  2804.        f=setwindowbottom(hwnd[,Title]) 
  2805.  
  2806.        hwnd  - window handle returned by getwindow (can be NULL "" if a Title 
  2807.       is given) 
  2808.        Title  - optional title of window - if given hwnd is ignored 
  2809.  
  2810.        This function requires a licensed copy of "Modular And Integrated 
  2811.       Design" to be installed. 
  2812.  
  2813.        Contents. 
  2814.        Section 04 Windows Functions. 
  2815.  
  2816.  
  2817. ΓòÉΓòÉΓòÉ 106. getforegroundwindow ΓòÉΓòÉΓòÉ
  2818.  
  2819.  getforegroundwindow 
  2820.  
  2821.  
  2822.        Get window in the foreground. 
  2823.  
  2824.        hwnd=getforegroundwindow() 
  2825.  
  2826.        No Arguments 
  2827.  
  2828.        This function requires a licensed copy of "Modular And Integrated 
  2829.       Design" to be installed. 
  2830.  
  2831.        Contents. 
  2832.        Section 04 Windows Functions. 
  2833.  
  2834.  
  2835. ΓòÉΓòÉΓòÉ 107. setforegroundwindow ΓòÉΓòÉΓòÉ
  2836.  
  2837.  setforegroundwindow 
  2838.  
  2839.  
  2840.        Place window in the foreground. 
  2841.  
  2842.        f=setforegroundwindow(hwnd[,Title]) 
  2843.  
  2844.        hwnd  - window handle returned by getwindow (can be NULL "" if a Title 
  2845.       is given) 
  2846.        Title  - optional title of window - if given hwnd is ignored 
  2847.  
  2848.        This function requires a licensed copy of "Modular And Integrated 
  2849.       Design" to be installed. 
  2850.  
  2851.        Contents. 
  2852.        Section 04 Windows Functions. 
  2853.  
  2854.  
  2855. ΓòÉΓòÉΓòÉ 108. getwindowtitle ΓòÉΓòÉΓòÉ
  2856.  
  2857.  getwindowtitle 
  2858.  
  2859.  
  2860.        Get window title. 
  2861.  
  2862.        title=getwindowtitle(hwnd) 
  2863.  
  2864.        hwnd  - window handle returned by getwindow 
  2865.  
  2866.        This function requires a licensed copy of "Modular And Integrated 
  2867.       Design" to be installed. 
  2868.  
  2869.        Contents. 
  2870.        Section 04 Windows Functions. 
  2871.  
  2872.  
  2873. ΓòÉΓòÉΓòÉ 109. setwindowtitle ΓòÉΓòÉΓòÉ
  2874.  
  2875.  setwindowtitle 
  2876.  
  2877.  
  2878.        Set window title. 
  2879.  
  2880.        f=setwindowtitle(hwnd,title) 
  2881.  
  2882.        hwnd  - window handle returned by getwindow 
  2883.        title  - new title 
  2884.  
  2885.        This function requires a licensed copy of "Modular And Integrated 
  2886.       Design" to be installed. 
  2887.  
  2888.        Contents. 
  2889.        Section 04 Windows Functions. 
  2890.  
  2891.  
  2892. ΓòÉΓòÉΓòÉ 110. getwindowvariable ΓòÉΓòÉΓòÉ
  2893.  
  2894.  getwindowvariable 
  2895.  
  2896.  
  2897.        Get contents of a window to a variable. 
  2898.  
  2899.        f=getwindowvariable(hwnd,variablename) 
  2900.  
  2901.        hwnd  - window handle returned by getwindow 
  2902.        variablename  - name of variable to place the contents into 
  2903.  
  2904.        This function requires a licensed copy of "Modular And Integrated 
  2905.       Design" to be installed. 
  2906.  
  2907.        Contents. 
  2908.        Section 04 Windows Functions. 
  2909.  
  2910.  
  2911. ΓòÉΓòÉΓòÉ 111. getwindowfile ΓòÉΓòÉΓòÉ
  2912.  
  2913.  getwindowfile 
  2914.  
  2915.  
  2916.        Get contents of a window to a file. 
  2917.  
  2918.        f=getwindowvariable(hwnd,filename) 
  2919.  
  2920.        hwnd  - window handle returned by getwindow 
  2921.        filename  - name of file to place the contents into 
  2922.  
  2923.        This function requires a licensed copy of "Modular And Integrated 
  2924.       Design" to be installed. 
  2925.  
  2926.        Contents. 
  2927.        Section 04 Windows Functions. 
  2928.  
  2929.  
  2930. ΓòÉΓòÉΓòÉ 112. Section 05 Keyboard/Mouse Event Functions ΓòÉΓòÉΓòÉ
  2931.  
  2932.  Section 05 - Keyboard/Mouse Event Functions 
  2933.  
  2934.  
  2935.        sendmouseevent   Sends a mouse event. 
  2936.        starteventscapture   Captures all subsequent Mouse and Keyboard Events 
  2937.       to Filename. 
  2938.        stopeventscapture   Stops capture of events started by 
  2939.       starteventscapture. 
  2940.        removelastevent   Removes last event from Filename. 
  2941.        setcapslockon   Sets Caps Lock ON. 
  2942.        setcapslockoff   Sets Caps Lock OFF. 
  2943.        setcoordwindow   Sets all following co-ordinates relative to a window. 
  2944.  
  2945.        Contents. 
  2946.  
  2947.  
  2948. ΓòÉΓòÉΓòÉ 113. sendmouseevent ΓòÉΓòÉΓòÉ
  2949.  
  2950.  sendmouseevent 
  2951.  
  2952.  
  2953.        sends a mouse event. 
  2954.  
  2955.        f=sendmouseevent(EventType[,x,y]) 
  2956.  
  2957.        EventType  - name of file 
  2958.        eventtype - "RELWINDOW MOVE WINDOWTITLE" move to co-ordinates x,y 
  2959.       (pixels) relative to window with title WINDOWTITLE 
  2960.        eventtype - "ABSOLUTE MOVE" move to absolute co-ordinates x,y (pixels) 
  2961.        eventtype - "MOVE" move relative to current position x,y pixels 
  2962.        eventtype - "CLICK" click left mouse button 
  2963.        eventtype - "DBLCLICK" double click left mouse button 
  2964.        eventtype - "LEFTDOWN" left mouse button down 
  2965.        eventtype - "LEFTUP" left mouse button up 
  2966.        eventtype - "RIGHTDOWN" right mouse button down 
  2967.        eventtype - "RIGHTUP" right mouse button up 
  2968.        eventtype - "MIDDLEDOWN" middle mouse button down 
  2969.        eventtype - "MIDDLEUP" middle mouse button up . 
  2970.        eventtype - "SETCURSOR APPSTARTING " Set mouse cursor to Standard arrow 
  2971.       and small hourglass 
  2972.        eventtype - "SETCURSOR ARROW " Set mouse cursor to s tandard arrow 
  2973.        eventtype - "SETCURSOR CROSS " Set mouse cursor to c rosshair 
  2974.        eventtype - "SETCURSOR IBEAM " Set mouse cursor to t ext I-beam 
  2975.        eventtype - "SETCURSOR ICON " Set mouse cursor to ( Windows NT only) 
  2976.       empty icon 
  2977.        eventtype - "SETCURSOR NO " Set mouse cursor to s lashed circle 
  2978.        eventtype - "SETCURSOR SIZE " Set mouse cursor to ( Windows NT only) 
  2979.       four-pointed arrow 
  2980.        eventtype - "SETCURSOR SIZEALL " Set mouse cursor to ( Windows NT only) 
  2981.       four-pointed arrow 
  2982.        eventtype - "SETCURSOR SIZENESW " Set mouse cursor to d ouble-pointed 
  2983.       arrow pointing northeast and southwest 
  2984.        eventtype - "SETCURSOR SIZENS " Set mouse cursor to d ouble-pointed 
  2985.       arrow pointing north and south 
  2986.        eventtype - "SETCURSOR SIZENWSE " Set mouse cursor to d ouble-pointed 
  2987.       arrow pointing northwest and southeast 
  2988.        eventtype - "SETCURSOR SIZEWE " Set mouse cursor to d ouble-pointed 
  2989.       arrow pointing west and east 
  2990.        eventtype - "SETCURSOR UPARROW " Set mouse cursor to v ertical arrow 
  2991.        eventtype - "SETCURSOR WAIT " Set mouse cursor to h ourglass 
  2992.        eventtype - "SETCURSOR DEFAULT" Set mouse cursor to default for each 
  2993.       window class 
  2994.  
  2995.        If SETCURSOR is used "SETCURSOR DEFAULT" must be given before the 
  2996.       process completes. 
  2997.  
  2998.        Contents. 
  2999.        Section 05 Keyboard/Mouse Event Functions. 
  3000.  
  3001.  
  3002. ΓòÉΓòÉΓòÉ 114. starteventscapture ΓòÉΓòÉΓòÉ
  3003.  
  3004.  starteventscapture 
  3005.  
  3006.  
  3007.        Captures all subsequent Mouse and Keyboard Events to Filename until 
  3008.       stopeventscapture . 
  3009.  
  3010.        f=starteventscapture(Filename[ +]) 
  3011.  
  3012.        Filename  - name of file 
  3013.        [ +]  - optional ' +' at end of  the filename appends results to the 
  3014.       file , otherwise a new file is created. 
  3015.  
  3016.        Contents. 
  3017.        Section 05 Keyboard/Mouse Event Functions. 
  3018.  
  3019.  
  3020. ΓòÉΓòÉΓòÉ 115. stopeventscapture ΓòÉΓòÉΓòÉ
  3021.  
  3022.  stopeventscapture 
  3023.  
  3024.  
  3025.        Stops capture of events started by starteventscapture . 
  3026.  
  3027.        f=stopeventscapture() 
  3028.  
  3029.        No Arguments 
  3030.  
  3031.        Contents. 
  3032.        Section 05 Keyboard/Mouse Event Functions. 
  3033.  
  3034.  
  3035. ΓòÉΓòÉΓòÉ 116. removelastevent ΓòÉΓòÉΓòÉ
  3036.  
  3037.  removelastevent 
  3038.  
  3039.  
  3040.        Removes last event from Filename . 
  3041.  
  3042.        f=removelastevent(Filename) 
  3043.  
  3044.        Filename  - name of file 
  3045.  
  3046.        Contents. 
  3047.        Section 05 Keyboard/Mouse Event Functions. 
  3048.  
  3049.  
  3050. ΓòÉΓòÉΓòÉ 117. setcapslockon ΓòÉΓòÉΓòÉ
  3051.  
  3052.  setcapslockon 
  3053.  
  3054.  
  3055.        Sets Caps Lock ON . 
  3056.  
  3057.        f=setcapslockon() 
  3058.  
  3059.        No Arguments 
  3060.  
  3061.        Contents. 
  3062.        Section 05 Keyboard/Mouse Event Functions. 
  3063.  
  3064.  
  3065. ΓòÉΓòÉΓòÉ 118. setcapslockoff ΓòÉΓòÉΓòÉ
  3066.  
  3067.  setcapslockoff 
  3068.  
  3069.  
  3070.        Sets Caps Lock OFF . 
  3071.  
  3072.        f=setcapslockoff() 
  3073.  
  3074.        No Arguments 
  3075.  
  3076.        Contents. 
  3077.        Section 05 Keyboard/Mouse Event Functions. 
  3078.  
  3079.  
  3080. ΓòÉΓòÉΓòÉ 119. setcoordwindow ΓòÉΓòÉΓòÉ
  3081.  
  3082.  setcoordwindow 
  3083.  
  3084.  
  3085.        Sets all following co-ordinates relative to a window . 
  3086.  
  3087.        f=setcoordwindow(Title) 
  3088.  
  3089.        Title  - title of window  - NULL "" sets co-ordinates relative to the 
  3090.       desktop (Default) 
  3091.  
  3092.        Contents. 
  3093.        Section 05 Keyboard/Mouse Event Functions. 
  3094.  
  3095.  
  3096. ΓòÉΓòÉΓòÉ 120. Section 06 Rexx Functions ΓòÉΓòÉΓòÉ
  3097.  
  3098.  Section 06 - REXX Functions 
  3099.  
  3100.  
  3101.        runrexxscript   Executes RexxScript with optional arguments. 
  3102.        runrexxscriptwindow   Executes RexxScript as a separate process in a 
  3103.       window. 
  3104.        runrexxscriptmin   Executes RexxScript as a separate process in a 
  3105.       minimised window. 
  3106.        runtempmaidscript*   Executes temporary copy of a MAID script. 
  3107.        runtempmaidmultiscript*   Executes temporary copy of a MAID script from 
  3108.       a multiscript file. 
  3109.  
  3110.        Contents. 
  3111.  
  3112.  
  3113. ΓòÉΓòÉΓòÉ 121. runrexxscript ΓòÉΓòÉΓòÉ
  3114.  
  3115.  runrexxscript 
  3116.  
  3117.  
  3118.        Executes RexxScript with optional arguments . 
  3119.  
  3120.        f=runrexxscript(RexxScript[,Argument0][,Argument1]...[,ArgumentN]) 
  3121.  
  3122.        RexxScript  - file name of Rexx script to run 
  3123.        Argument1  - optional argument 1 
  3124.        Argument0  - optional argument 0 
  3125.        ... 
  3126.        ArgumentN  - optional argument N 
  3127.  
  3128.        Contents. 
  3129.        Section 06 Rexx Functions. 
  3130.  
  3131.  
  3132. ΓòÉΓòÉΓòÉ 122. runrexxscriptwindow ΓòÉΓòÉΓòÉ
  3133.  
  3134.  runrexxscriptwindow 
  3135.  
  3136.  
  3137.        Executes RexxScript as a separate process in a window  (available on 
  3138.       windows only. On OS/2 runs PMREXX) . 
  3139.  
  3140.        f=runrexxscriptwindow(RexxScript[,Argument]) 
  3141.  
  3142.        RexxScript  - file name of Rexx script to run 
  3143.        Argument  - string of arguments separated by spaces 
  3144.  
  3145.        Contents. 
  3146.        Section 06 Rexx Functions. 
  3147.  
  3148.  
  3149. ΓòÉΓòÉΓòÉ 123. runrexxscriptmin ΓòÉΓòÉΓòÉ
  3150.  
  3151.  runrexxscriptmin 
  3152.  
  3153.  
  3154.        Executes RexxScript as a separate process in a minimised window 
  3155.       (available on windows only. On OS/2 runs PMREXX) . 
  3156.  
  3157.        f=runrexxscriptmin(RexxScript[,Argument]) 
  3158.  
  3159.        RexxScript  - file name of Rexx script to run 
  3160.        Argument  - string of arguments separated by spaces 
  3161.  
  3162.        Contents. 
  3163.        Section 06 Rexx Functions. 
  3164.  
  3165.  
  3166. ΓòÉΓòÉΓòÉ 124. runtempmaidscript ΓòÉΓòÉΓòÉ
  3167.  
  3168.  runtempmaidscript 
  3169.  
  3170.  
  3171.        Executes temporary copy of a MAID script. 
  3172.  
  3173.       TempName=runtempmaidscript(MaidScript[-LISTEVENTTYPES-][,Directory[,NewName[,[-ARGLIST-Arguments-LIBLIST-]/LibraryList]]]) 
  3174.  
  3175.        MaidScript  - file name of Maid script to run (in windows this script 
  3176.       may be a compressed script). If the filename is followed by the string 
  3177.       "-LISTEVENTTYPES-" the temporary copy contains a list of the event types 
  3178.       - else the temporary copy is empty. 
  3179.        Directory  - optional directory for the temporary script - default temp 
  3180.       directory. 
  3181.        NewName  - optional new filename for the file. If this is "" a temporary 
  3182.       name is used. 
  3183.        Arguments/LibraryList  - optional argument list followed by a library 
  3184.       list. 
  3185.  
  3186.        If there is an argument list, the first argument must be "-ARGLIST-" and 
  3187.       if there is a 
  3188.        library list after the arguments then "-LIBLIST-" must apprear after the 
  3189.       arguments. 
  3190.        A Stemlist is created using the returned TempName 
  3191.        MAIDArgs!.0 Contains the number of arguments 
  3192.        MAIDArgs!.1 Contains the first argument 
  3193.        ... 
  3194.        MAIDArgs!.n Contains the n th argument 
  3195.        eg to retrieve the arguments use 
  3196.        f=readstemlist(TempName,"MAIDArgs!") 
  3197.        do i=1 to MAIDArgs!.0 
  3198.        say "Argument " i "is" MAIDArgs!.i 
  3199.        end 
  3200.  
  3201.        The optional library list is a list of filenames seperated by commas 
  3202.       where each file contains REXX code or library functions to be appended 
  3203.       onto the original MaidScript. 
  3204.        Both the MaidScript file and LibraryList files may be compressed 
  3205.       scripts. 
  3206.  
  3207.        eg 
  3208.        Library list only - 
  3209.       TempName=runtempmaidscript("MyScript.mde","C:\MyScripts","MyScript",Library1","Library2") 
  3210.  
  3211.        Argument list with library list - 
  3212.       TempName=runtempmaidscript("MyScript.mde","C:\MyScripts","MyScript","-ARGLIST-","arg1","arg2","arg3","-LIBLIST-","Library1","Library2") 
  3213.  
  3214.        returns 
  3215.        RESULT.TITLE  -title of the MaidScript 
  3216.        TempName  - temporary filename of the MaidScript - this file is 
  3217.       automatically deleted when the MaidScript dialog closes 
  3218.  
  3219.        This function requires a licensed copy of "Modular And Integrated 
  3220.       Design" to be installed. 
  3221.  
  3222.        Contents. 
  3223.        Section 06 Rexx Functions. 
  3224.  
  3225.  
  3226. ΓòÉΓòÉΓòÉ 125. runtempmaidmultiscript ΓòÉΓòÉΓòÉ
  3227.  
  3228.  runtempmaidmultiscript 
  3229.  
  3230.  
  3231.        Executes temporary copy of a MAID script from a multiscript file. 
  3232.  
  3233.       TempName=runtempmaidmultiscript(MultiFile,MaidScript[-LISTEVENTTYPES-][,Directory[,NewName[,[-ARGLIST-Arguments-LIBLIST-]/LibraryList]]]) 
  3234.  
  3235.        MultiFile  - file name of Maid multi script to run. A multi script file 
  3236.       is simply a concatenation of files and must have been created with the 
  3237.       importfilestofile function. (in windows this multifile may be a 
  3238.       compressed file) 
  3239.        The files are exported using the exportfilesfromfile function and then 
  3240.       runtempmaidscript is run using the MaidScript file. 
  3241.        This allows you to concatenate all the script files in a project 
  3242.       together into a single multi script file. 
  3243.        MaidScript  - file name of Maid script to run (in windows this script 
  3244.       may be a compressed script). If the filename is followed by the string 
  3245.       "-LISTEVENTTYPES-" the temporary copy contains a list of the event types 
  3246.       - else the temporary copy is empty. 
  3247.        Directory  - optional directory for the temporary script - default temp 
  3248.       directory. 
  3249.        NewName  - optional new filename for the file. If this is "" a temporary 
  3250.       name is used. 
  3251.        Arguments/LibraryList  - optional argument list followed by a library 
  3252.       list. 
  3253.  
  3254.        If there is an argument list, the first argument must be "-ARGLIST-" and 
  3255.       if there is a 
  3256.        library list after the arguments then "-LIBLIST-" must apprear after the 
  3257.       arguments. 
  3258.        A Stemlist is created using the returned TempName 
  3259.        MAIDArgs!.0 Contains the number of arguments 
  3260.        MAIDArgs!.1 Contains the first argument 
  3261.        ... 
  3262.        MAIDArgs!.n Contains the n th argument 
  3263.        eg to retrieve the arguments use 
  3264.        f=readstemlist(TempName,"MAIDArgs!") 
  3265.        do i=1 to MAIDArgs!.0 
  3266.        say "Argument " i "is" MAIDArgs!.i 
  3267.        end 
  3268.  
  3269.        The optional library list is a list of filenames seperated by commas 
  3270.       where each file contains REXX code or library functions to be appended 
  3271.       onto the original MaidScript. 
  3272.        Both the StartupFile and LibraryList files may be compressed scripts. 
  3273.  
  3274.        eg 
  3275.        Library list only - 
  3276.       TempName=runtempmaidmultiscript("MultiFile","MyScript.mde","C:\MyScripts","MyScript",Library1","Library2") 
  3277.  
  3278.        Argument list with library list - 
  3279.       TempName=runtempmaidmultiscript("MultiFile","MyScript.mde","C:\MyScripts","MyScript","-ARGLIST-","arg1","arg2","arg3","-LIBLIST-","Library1","Library2") 
  3280.  
  3281.        returns 
  3282.        RESULT.TITLE  -title of the MaidScript 
  3283.        TempName  - temporary filename of the MaidScript - this file is 
  3284.       automatically deleted when the MaidScript dialog closes 
  3285.  
  3286.        This function requires a licensed copy of "Modular And Integrated 
  3287.       Design" to be installed. 
  3288.  
  3289.        Contents. 
  3290.        Section 06 Rexx Functions. 
  3291.  
  3292.  
  3293. ΓòÉΓòÉΓòÉ 126. Section 07 Registry Functions ΓòÉΓòÉΓòÉ
  3294.  
  3295.  Section 07 - Registry Functions 
  3296.  
  3297.  
  3298.        dirregistry   Creates StemVariable containing info on Registry. 
  3299.        getkeyvalues   Create StemVariable with Key values for Registry 
  3300.        setkeyvalue   Modifies/Creates key value/data - creates key if it does 
  3301.       not exist 
  3302.        deletekey   Deletes an existing key 
  3303.        deletekeyvalue   Deletes value from a key 
  3304.  
  3305.        Contents. 
  3306.  
  3307.  
  3308. ΓòÉΓòÉΓòÉ 127. dirregistry ΓòÉΓòÉΓòÉ
  3309.  
  3310.  dirregistry 
  3311.  
  3312.  
  3313.        Creates StemVariable containing info on Registry . 
  3314.  
  3315.        f=dirregistry(Registry,StemVariable) 
  3316.  
  3317.        Registry  - directory path of registryname of file 
  3318.        Registry can be one of - 
  3319.        "HKEY_CLASSES_ROOT\pathname" 
  3320.        "HKEY_CURRENT_USER\pathname" 
  3321.        "HKEY_LOCAL_MACHINE\pathname" 
  3322.        "HKEY_USERS\pathname" 
  3323.        where \pathname can be a directory path or empty (NULL) 
  3324.        Note: 
  3325.        Under OS/2 only valid key under HKEY_CURRENT_USER is 
  3326.        HKEY_CURRENT_USER\SOFTWARE 
  3327.        Under OS/2 only valid keys under HKEY_LOCAL_MACHINE are 
  3328.        HKEY_LOCAL_MACHINE\SOFTWARE 
  3329.        HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET 
  3330.        Under OS/2 only valid key under HKEY_USERS is 
  3331.        HKEY_USERS\.DEFAULT 
  3332.  
  3333.        StemVariable  - name of Stem Variable to place information 
  3334.  
  3335.        StemVariable 0 -  number of entries 
  3336.        ... 
  3337.        StemVariable .i - Entry for ith directory entry 
  3338.  
  3339.        Contents. 
  3340.        Section 07 Registry Functions. 
  3341.  
  3342.  
  3343. ΓòÉΓòÉΓòÉ 128. getkeyvalues ΓòÉΓòÉΓòÉ
  3344.  
  3345.  getkeyvalues 
  3346.  
  3347.  
  3348.        Create StemVariable with Key values for Registry . 
  3349.  
  3350.        f=getkeyvalues(Registry,StemVariable) 
  3351.  
  3352.        Registry  - directory path of registryname of file 
  3353.        Registry can be one of - 
  3354.        "HKEY_CLASSES_ROOT\pathname" 
  3355.        "HKEY_CURRENT_USER\pathname" 
  3356.        "HKEY_LOCAL_MACHINE\pathname" 
  3357.        "HKEY_USERS\pathname" 
  3358.        where \pathname can be a directory path or empty (NULL) 
  3359.        Note: 
  3360.        Under OS/2 only valid key under HKEY_CURRENT_USER is 
  3361.        HKEY_CURRENT_USER\SOFTWARE 
  3362.        Under OS/2 only valid keys under HKEY_LOCAL_MACHINE are 
  3363.        HKEY_LOCAL_MACHINE\SOFTWARE 
  3364.        HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET 
  3365.        Under OS/2 only valid key under HKEY_USERS is 
  3366.        HKEY_USERS\.DEFAULT 
  3367.  
  3368.        StemVariable  - name of Stem Variable to place information 
  3369.  
  3370.        StemVariable .0 -  number of key values 
  3371.        StemVariable .NAME.1 - Name of Entry for 1st key value 
  3372.        StemVariable .DATA.1 - Data of Entry for 1st key value 
  3373.        ... 
  3374.        StemVariable .NAME.i - Name of Entry for ith key value 
  3375.        StemVariable .DATA.i - Data of Entry for ith key value 
  3376.  
  3377.        Contents. 
  3378.        Section 07 Registry Functions. 
  3379.  
  3380.  
  3381. ΓòÉΓòÉΓòÉ 129. setkeyvalue ΓòÉΓòÉΓòÉ
  3382.  
  3383.  setkeyvalue 
  3384.  
  3385.  
  3386.        Modifies/Creates key value/data - creates key if it does not exist. 
  3387.  
  3388.        f=setkeyvalue(Registry,Key,ValueName,ValueData) 
  3389.  
  3390.  
  3391.        Registry  - directory path of registryname of file 
  3392.        Registry can be one of - 
  3393.        "HKEY_CLASSES_ROOT\pathname" 
  3394.        "HKEY_CURRENT_USER\pathname" 
  3395.        "HKEY_LOCAL_MACHINE\pathname" 
  3396.        "HKEY_USERS\pathname" 
  3397.        where \pathname can be a directory path or empty (NULL) 
  3398.        Note: 
  3399.        Under OS/2 only valid key under HKEY_CURRENT_USER is 
  3400.        HKEY_CURRENT_USER\SOFTWARE 
  3401.        Under OS/2 only valid keys under HKEY_LOCAL_MACHINE are 
  3402.        HKEY_LOCAL_MACHINE\SOFTWARE 
  3403.        HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET 
  3404.        Under OS/2 only valid key under HKEY_USERS is 
  3405.        HKEY_USERS\.DEFAULT 
  3406.  
  3407.        Key  - name of Key to create. ignored if empty 
  3408.        ValueName  - Value name of entry 
  3409.        ValueData  - Value data in entry 
  3410.  
  3411.        Contents. 
  3412.        Section 07 Registry Functions. 
  3413.  
  3414.  
  3415. ΓòÉΓòÉΓòÉ 130. deletekey ΓòÉΓòÉΓòÉ
  3416.  
  3417.  deletekey 
  3418.  
  3419.  
  3420.        Deletes an existing key. 
  3421.  
  3422.        f=deletekey(Registry) 
  3423.  
  3424.  
  3425.        Registry  - directory path of registryname of file 
  3426.        Registry can be one of - 
  3427.        "HKEY_CLASSES_ROOT\pathname" 
  3428.        "HKEY_CURRENT_USER\pathname" 
  3429.        "HKEY_LOCAL_MACHINE\pathname" 
  3430.        "HKEY_USERS\pathname" 
  3431.        where \pathname can be a directory path or empty (NULL) 
  3432.        Note: 
  3433.        Under OS/2 only valid key under HKEY_CURRENT_USER is 
  3434.        HKEY_CURRENT_USER\SOFTWARE 
  3435.        Under OS/2 only valid keys under HKEY_LOCAL_MACHINE are 
  3436.        HKEY_LOCAL_MACHINE\SOFTWARE 
  3437.        HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET 
  3438.        Under OS/2 only valid key under HKEY_USERS is 
  3439.        HKEY_USERS\.DEFAULT 
  3440.  
  3441.        Contents. 
  3442.        Section 07 Registry Functions. 
  3443.  
  3444.  
  3445. ΓòÉΓòÉΓòÉ 131. deletekeyvalue ΓòÉΓòÉΓòÉ
  3446.  
  3447.  deletekeyvalue 
  3448.  
  3449.  
  3450.        Deletes value from a key. 
  3451.  
  3452.        f=deletekeyvalue(Registry,ValueName) 
  3453.  
  3454.  
  3455.        Registry  - directory path of registryname of file 
  3456.        Registry can be one of - 
  3457.        "HKEY_CLASSES_ROOT\pathname" 
  3458.        "HKEY_CURRENT_USER\pathname" 
  3459.        "HKEY_LOCAL_MACHINE\pathname" 
  3460.        "HKEY_USERS\pathname" 
  3461.        where \pathname can be a directory path or empty (NULL) 
  3462.        Note: 
  3463.        Under OS/2 only valid key under HKEY_CURRENT_USER is 
  3464.        HKEY_CURRENT_USER\SOFTWARE 
  3465.        Under OS/2 only valid keys under HKEY_LOCAL_MACHINE are 
  3466.        HKEY_LOCAL_MACHINE\SOFTWARE 
  3467.        HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET 
  3468.        Under OS/2 only valid key under HKEY_USERS is 
  3469.        HKEY_USERS\.DEFAULT 
  3470.  
  3471.        ValueName  - Value name of entry 
  3472.  
  3473.        Contents. 
  3474.        Section 07 Registry Functions. 
  3475.  
  3476.  
  3477. ΓòÉΓòÉΓòÉ 132. Section 08 Global Stem Variable Functions ΓòÉΓòÉΓòÉ
  3478.  
  3479.  Section 08 - Global Stem Variable Functions 
  3480.  
  3481.  
  3482.        writestemlist   Write to stemlist. 
  3483.        readstemlist   Read from stemlist. 
  3484.        writeallstemlist   Clears stemlist and writes all stem variables to 
  3485.       stemlist. 
  3486.        readallstemlist   Reads all stem variable from stemlist and leaves items 
  3487.       on the list. 
  3488.        peekstemlist   Read from stemlist. 
  3489.        readstemlistitem   Read item from stemlist. 
  3490.        peekstemlistitem   Read item from stemlist. 
  3491.        stemlisttofile   Dump stemlist to a file. 
  3492.        stemlistfromfile   Import file entries to stemlist. 
  3493.        stemvartofile   Dump stem variable to a file. 
  3494.        stemvarfromfile   Import stem variable from file. 
  3495.        sizeofstemlist   Get no of entries in stemlist. 
  3496.        freestemlist   Frees existing stemlist. 
  3497.        getstemtails*   Gets tails of a stem variable. 
  3498.        reducestemvariable*   Reduces a stem variable by removong all null 
  3499.       entries. 
  3500.        getstemidlist*   Gets a list of all non NULL ID's belonging to a stem in 
  3501.       a stemlist. 
  3502.        getstemtargetlist*   Gets a list of all non NULL target strings 
  3503.       belonging to a stem in a stemlist. 
  3504.        savelocalstems*   Writes local stem variables to local memory. 
  3505.        restorelocalstems*   Reads local stem variables from local memory. 
  3506.  
  3507.        Contents. 
  3508.  
  3509.  
  3510. ΓòÉΓòÉΓòÉ 133. writestemlist ΓòÉΓòÉΓòÉ
  3511.  
  3512.  writestemlist 
  3513.  
  3514.  
  3515.        writes stem variable to stemlist. 
  3516.  
  3517.        f=writestemlist(StemList,StemVariable[,ID][,Target]) 
  3518.  
  3519.        StemList  - name of stem list 
  3520.        StemVariable  - stem variable to write 
  3521.        ID  - optional number to identify the type of data - default 0 
  3522.        Target  - optional AlphaNumeric String to identify who the data is for - 
  3523.       default empty string 
  3524.  
  3525.        Up to 90 Stems can be written to the stemlist 
  3526.  
  3527.        Contents. 
  3528.        Section 08 Global Stem Variable Functions. 
  3529.  
  3530.  
  3531. ΓòÉΓòÉΓòÉ 134. readstemlist ΓòÉΓòÉΓòÉ
  3532.  
  3533.  readstemlist 
  3534.  
  3535.  
  3536.        Reads stem variable from stemlist and removes item from the list. 
  3537.  
  3538.        f=readstemlist(StemList,OldStemName[,NewStemName[,ID][,Target]]) 
  3539.  
  3540.        RESULT.0 contains the number of entries in the stem variable 
  3541.        RESULT.STEMNAME contains the original stem name 
  3542.        RESULT.TARGET contains the original target name 
  3543.        RESULT.1 contains the name extension of the 1st stem variable entry 
  3544.        ... 
  3545.        RESULT.n contains the name extension of the nth stem variable entry 
  3546.        StemList  - name of stem list 
  3547.        OldStemName  - name of stem variable before it was added to the stemlist 
  3548.        if OldStemName is empty (NULL) the first stem found is read 
  3549.        Optional Arguments- 
  3550.        NewStemName  - new stem name - stem variable to read data into 
  3551.        if NewStemName is empty (NULL) or not defined it is the old stem name of 
  3552.       the stem found 
  3553.        ID  - optional number to identify the type of data - default 0 
  3554.        Target  - optional AlphaNumeric String to identify who the data is for - 
  3555.       default empty string 
  3556.  
  3557.        returns 
  3558.        RESULT.0  no of elements in the stem 
  3559.        RESULT.ID  ID of the stem 
  3560.        RESULT.TARGET  Target of the stem 
  3561.        RESULT.OLDSTEMNAME  Original stem name of the stem 
  3562.        RESULT.NEWSTEMNAME  New stem name of the stem 
  3563.        RESULT.ITEMNO  Item number in the list 
  3564.        StemList.||RESULT.1  - 1st stem variable name extension 
  3565.        ... 
  3566.        StemList.||RESULT.n  - nth stem variable name extension 
  3567.  
  3568.        Contents. 
  3569.        Section 08 Global Stem Variable Functions. 
  3570.  
  3571.  
  3572. ΓòÉΓòÉΓòÉ 135. writeallstemlist ΓòÉΓòÉΓòÉ
  3573.  
  3574.  writeallstemlist 
  3575.  
  3576.  
  3577.        Clears stemlist and writes all stem variables to stemlist. 
  3578.  
  3579.        f=writeallstemlist(StemList) 
  3580.  
  3581.        StemList  - name of stem list 
  3582.  
  3583.        Contents. 
  3584.        Section 08 Global Stem Variable Functions. 
  3585.  
  3586.  
  3587. ΓòÉΓòÉΓòÉ 136. readallstemlist ΓòÉΓòÉΓòÉ
  3588.  
  3589.  readallstemlist 
  3590.  
  3591.  
  3592.        Reads all stem variable from stemlist and leaves items on the list. 
  3593.  
  3594.        f=readallstemlist(StemList) 
  3595.  
  3596.        StemList  - name of stem list 
  3597.  
  3598.        Contents. 
  3599.        Section 08 Global Stem Variable Functions. 
  3600.  
  3601.  
  3602. ΓòÉΓòÉΓòÉ 137. peekstemlist ΓòÉΓòÉΓòÉ
  3603.  
  3604.  peekstemlist 
  3605.  
  3606.  
  3607.        Reads stem variable from stemlist and does not remove the item from the 
  3608.       list. 
  3609.  
  3610.        Item=peekstemlist(StemList,OldStemName,Item[,NewStemName[,ID][,Target]]) 
  3611.  
  3612.        RESULT.0 contains the number of entries in the stem variable 
  3613.        RESULT.STEMNAME contains the original stem name 
  3614.        RESULT.TARGET contains the original target name 
  3615.        RESULT.1 contains the name extension of the 1st stem variable entry 
  3616.        ... 
  3617.        RESULT.n contains the name extension of the nth stem variable entry 
  3618.        StemList  - name of stem list 
  3619.        OldStemName  - name of stem variable before it was added to the stemlist 
  3620.        if OldStemName is empty (NULL) the first stem found is read 
  3621.        Item - item number to peek 
  3622.        Optional Arguments- 
  3623.        NewStemName  - new stem name - stem variable to read data into 
  3624.        if NewStemName is empty (NULL) or not defined it is the old stem name of 
  3625.       the stem found 
  3626.        ID  - optional number to identify the type of data - default 0 
  3627.        Target  - optional AlphaNumeric String to identify who the data is for - 
  3628.       default empty string 
  3629.        returns 
  3630.        Item - next item number to peek - returns -1 if no item found 
  3631.        RESULT.0  no of elements in the stem 
  3632.        RESULT.ID  ID of the stem 
  3633.        RESULT.TARGET  Target of the stem 
  3634.        RESULT.OLDSTEMNAME  Original stem name of the stem 
  3635.        RESULT.NEWSTEMNAME  New stem name of the stem 
  3636.        RESULT.ITEMNO  Item number in the list 
  3637.        StemList.||RESULT.1  - 1st stem variable name extension 
  3638.        ... 
  3639.        StemList.||RESULT.n  - nth stem variable name extension 
  3640.  
  3641.        Contents. 
  3642.        Section 08 Global Stem Variable Functions. 
  3643.  
  3644.  
  3645. ΓòÉΓòÉΓòÉ 138. readstemlistitem ΓòÉΓòÉΓòÉ
  3646.  
  3647.  readstemlistitem 
  3648.  
  3649.  
  3650.        Reads stem variable from stemlist and removes item from the list. 
  3651.  
  3652.        f=readstemlistitem(StemList,StemVariable,Item) 
  3653.  
  3654.        RESULT.0 contains the number of entries in the stem variable 
  3655.        RESULT.STEMNAME contains the original stem name 
  3656.        RESULT.TARGET contains the original target name 
  3657.        RESULT.1 contains the name extension of the 1st stem variable entry 
  3658.        ... 
  3659.        RESULT.n contains the name extension of the nth stem variable entry 
  3660.        StemList  - name of stem list 
  3661.        StemVariable  - stem variable to read data into 
  3662.        Item - item number to read 
  3663.        returns 
  3664.        RESULT.0  no of elements in the stem 
  3665.        RESULT.ID  ID of the stem 
  3666.        RESULT.TARGET  Target of the stem 
  3667.        RESULT.OLDSTEMNAME  Original stem name of the stem 
  3668.        RESULT.NEWSTEMNAME  New stem name of the stem 
  3669.        RESULT.ITEMNO  Item number in the list 
  3670.        StemList.||RESULT.1  - 1st stem variable name extension 
  3671.        ... 
  3672.        StemList.||RESULT.n  - nth stem variable name extension 
  3673.  
  3674.        Contents. 
  3675.        Section 08 Global Stem Variable Functions. 
  3676.  
  3677.  
  3678. ΓòÉΓòÉΓòÉ 139. peekstemlistitem ΓòÉΓòÉΓòÉ
  3679.  
  3680.  peekstemlistitem 
  3681.  
  3682.  
  3683.        Reads stem variable from stemlist and does not remove the item from the 
  3684.       list. 
  3685.  
  3686.        Item=peekstemlistitem(StemList,StemVariable,Item) 
  3687.  
  3688.        RESULT.0 contains the number of entries in the stem variable 
  3689.        RESULT.STEMNAME contains the original stem name 
  3690.        RESULT.TARGET contains the original target name 
  3691.        RESULT.1 contains the name extension of the 1st stem variable entry 
  3692.        ... 
  3693.        RESULT.n contains the name extension of the nth stem variable entry 
  3694.        StemList  - name of stem list 
  3695.        StemVariable  - stem variable to read data into 
  3696.        Item - item number to peek 
  3697.  
  3698.        returns 
  3699.        Item - next item number to peek - returns -1 if no item found 
  3700.        RESULT.0  no of elements in the stem 
  3701.        RESULT.ID  ID of the stem 
  3702.        RESULT.TARGET  Target of the stem 
  3703.        RESULT.OLDSTEMNAME  Original stem name of the stem 
  3704.        RESULT.NEWSTEMNAME  New stem name of the stem 
  3705.        RESULT.ITEMNO  Item number in the list 
  3706.        StemList.||RESULT.1  - 1st stem variable name extension 
  3707.        ... 
  3708.        StemList.||RESULT.n  - nth stem variable name extension 
  3709.  
  3710.        Contents. 
  3711.        Section 08 Global Stem Variable Functions. 
  3712.  
  3713.  
  3714. ΓòÉΓòÉΓòÉ 140. stemlisttofile ΓòÉΓòÉΓòÉ
  3715.  
  3716.  stemlisttofile 
  3717.  
  3718.  
  3719.        Dump stemlist to a file, Stems are appended to the file 
  3720.  
  3721.        f=stemlisttofile(StemList,Filename[ +]) 
  3722.  
  3723.        StemList  - name of stem list 
  3724.        Filename  - name of file to place stems in 
  3725.        [ +]  - optional ' +' at end of  the filename appends results to the 
  3726.       file , otherwise a new file is created. 
  3727.  
  3728.        File Format :- 
  3729.        *STEMNAME;ID;TARGET; 
  3730.        STEM.NAME.ONE="contents of stem name one" 
  3731.        STEM.NAME.TWO="contents of stem name two" 
  3732.        ... 
  3733.        STEM.NAME.N="contents of stem name n" 
  3734.        Repeat for each stem 
  3735.  
  3736.        Contents. 
  3737.        Section 08 Global Stem Variable Functions. 
  3738.  
  3739.  
  3740. ΓòÉΓòÉΓòÉ 141. stemlistfromfile ΓòÉΓòÉΓòÉ
  3741.  
  3742.  stemlistfromfile 
  3743.  
  3744.  
  3745.        Import file entries to stemlist. Stems are appended onto the stemlist 
  3746.  
  3747.        f=stemlistfromfile(StemList,Filename) 
  3748.  
  3749.        StemList  - name of stem list 
  3750.        Filename  - name of file to to read stems from 
  3751.  
  3752.        File Format :- 
  3753.        *STEMNAME;ID;TARGET; 
  3754.        STEM.NAME.ONE="contents of stem name one" 
  3755.        STEM.NAME.TWO="contents of stem name two" 
  3756.        ... 
  3757.        STEM.NAME.N="contents of stem name n" 
  3758.        Repeat for each stem 
  3759.  
  3760.        Contents. 
  3761.        Section 08 Global Stem Variable Functions. 
  3762.  
  3763.  
  3764. ΓòÉΓòÉΓòÉ 142. stemvartofile ΓòÉΓòÉΓòÉ
  3765.  
  3766.  stemvartofile 
  3767.  
  3768.  
  3769.        Dump stem variable to a file. 
  3770.  
  3771.        f=stemvartofile(Filename[ +],StemVariable[,ID][,Target]) 
  3772.  
  3773.        Filename  - name of file to read stems from 
  3774.        [ +]  - optional ' +' at end of  the filename appends results to the 
  3775.       file , otherwise a new file is created. 
  3776.        StemVariable  - stem variable to write 
  3777.        ID  - optional number to identify the type of data - default 0 
  3778.        Target  - optional AlphaNumeric String to identify who the data is for - 
  3779.       default empty string 
  3780.  
  3781.        File Format :- 
  3782.        *STEMNAME;ID;TARGET; 
  3783.        STEMNAME.ONE="contents of stem name one" 
  3784.        STEMNAME.TWO="contents of stem name two" 
  3785.        ... 
  3786.        STEMNAME.N="contents of stem name n" 
  3787.        Repeat for each stem 
  3788.  
  3789.        Contents. 
  3790.        Section 08 Global Stem Variable Functions. 
  3791.  
  3792.  
  3793. ΓòÉΓòÉΓòÉ 143. stemvarfromfile ΓòÉΓòÉΓòÉ
  3794.  
  3795.  stemvarfromfile 
  3796.  
  3797.  
  3798.        Import stem variable from file. 
  3799.  
  3800.        f=stemvarfromfile(Filename,Stem) 
  3801.  
  3802.        Filename  - name of file to read stems from 
  3803.        Stem  - name of stem variable 
  3804.  
  3805.        returns 
  3806.        RESULT.0  no of elements in the stem 
  3807.        RESULT.ID  ID of the stem 
  3808.        RESULT.TARGET  Target of the stem 
  3809.        RESULT.STEMNAME  Original stem name of the stem 
  3810.        StemList.||RESULT.1  - 1st stem variable name extension 
  3811.        ... 
  3812.        StemList.||RESULT.n  - nth stem variable name extension 
  3813.        File Format :- 
  3814.        *STEMNAME;ID;TARGET; 
  3815.        STEMNAME.ONE="contents of stem name one" 
  3816.        STEMNAME.TWO="contents of stem name two" 
  3817.        ... 
  3818.        STEMNAME.N="contents of stem name n" 
  3819.        Repeat for each stem 
  3820.  
  3821.        Contents. 
  3822.        Section 08 Global Stem Variable Functions. 
  3823.  
  3824.  
  3825. ΓòÉΓòÉΓòÉ 144. sizeofstemlist ΓòÉΓòÉΓòÉ
  3826.  
  3827.  sizeofstemlist 
  3828.  
  3829.  
  3830.        Returns number of stems in stemlist. 
  3831.  
  3832.        nostems=sizeofstemlist(StemList) 
  3833.  
  3834.        StemList  - name of stem list 
  3835.  
  3836.        Contents. 
  3837.        Section 08 Global Stem Variable Functions. 
  3838.  
  3839.  
  3840. ΓòÉΓòÉΓòÉ 145. freestemlist ΓòÉΓòÉΓòÉ
  3841.  
  3842.  freestemlist 
  3843.  
  3844.  
  3845.        Frees existing stemlist. 
  3846.  
  3847.        f=freestemlist(StemList) 
  3848.  
  3849.        StemList  - name of stem list 
  3850.  
  3851.        Contents. 
  3852.        Section 08 Global Stem Variable Functions. 
  3853.  
  3854.  
  3855. ΓòÉΓòÉΓòÉ 146. getstemtails ΓòÉΓòÉΓòÉ
  3856.  
  3857.  getstemtails 
  3858.  
  3859.  
  3860.        Gets tails of a stem variable. 
  3861.  
  3862.        getstemtails(StemName,StemVariable) 
  3863.  
  3864.        StemName  - name of stem 
  3865.        StemVariable  - name of stem variable containing the results 
  3866.  
  3867.        StemVariable.0  no of elements in the stem 
  3868.        StemVariable.1  - 1st stem variable name extension 
  3869.        ... 
  3870.        StemVariable.n  - nth stem variable name extension 
  3871.  
  3872.        This function requires a licensed copy of "Modular And Integrated 
  3873.       Design" to be installed. 
  3874.  
  3875.        Contents. 
  3876.        Section 08 Global Stem Variable Functions. 
  3877.  
  3878.  
  3879. ΓòÉΓòÉΓòÉ 147. reducestemvariable ΓòÉΓòÉΓòÉ
  3880.  
  3881.  reducestemvariable 
  3882.  
  3883.  
  3884.        Reduces a stem variable by removong all null entries. 
  3885.  
  3886.        f=reducestemvariable(StemName) 
  3887.  
  3888.        StemName  - name of stem 
  3889.        The StemName must be of the form 
  3890.        StemName.0 - number of entries 
  3891.        StemName.1 - first entry 
  3892.        ... 
  3893.        StemName.n - nth entry 
  3894.  
  3895.        All NULL entries are removed and StemName.0 adjusted to relect the new 
  3896.       count. 
  3897.  
  3898.        This function requires a licensed copy of "Modular And Integrated 
  3899.       Design" to be installed. 
  3900.  
  3901.        Contents. 
  3902.        Section 08 Global Stem Variable Functions. 
  3903.  
  3904.  
  3905. ΓòÉΓòÉΓòÉ 148. getstemidlist ΓòÉΓòÉΓòÉ
  3906.  
  3907.  getstemidlist 
  3908.  
  3909.  
  3910.        Gets a list of all non NULL ID's belonging to a stem in a stemlist. 
  3911.  
  3912.        f=getstemidlist(StemList,OldStemName,StemVariable) 
  3913.  
  3914.        StemList  - name of stem list 
  3915.        OldStemName  - name of stem variable before it was added to the stemlist 
  3916.        StemVariable  - name of stem variable containing the results 
  3917.        The StemVariable is of the form 
  3918.        StemVariable.0 - number of entries 
  3919.        StemVariable.1 - first entry 
  3920.        ... 
  3921.        StemVariable.n - nth entry 
  3922.  
  3923.        This function requires a licensed copy of "Modular And Integrated 
  3924.       Design" to be installed. 
  3925.  
  3926.        Contents. 
  3927.        Section 08 Global Stem Variable Functions. 
  3928.  
  3929.  
  3930. ΓòÉΓòÉΓòÉ 149. getstemtargetlist ΓòÉΓòÉΓòÉ
  3931.  
  3932.  getstemtargetlist 
  3933.  
  3934.  
  3935.        Gets a list of all non NULL target strings belonging to a stem in a 
  3936.       stemlist. 
  3937.  
  3938.        f=getstemtargetlist(StemList,OldStemName,StemVariable) 
  3939.  
  3940.        StemList  - name of stem list 
  3941.        OldStemName  - name of stem variable before it was added to the stemlist 
  3942.        StemVariable  - name of stem variable containing the results 
  3943.        The StemVariable is of the form 
  3944.        StemVariable.0 - number of entries 
  3945.        StemVariable.1 - first entry 
  3946.        ... 
  3947.        StemVariable.n - nth entry 
  3948.  
  3949.        This function requires a licensed copy of "Modular And Integrated 
  3950.       Design" to be installed. 
  3951.  
  3952.        Contents. 
  3953.        Section 08 Global Stem Variable Functions. 
  3954.  
  3955.        savelocalstems*   Writes all local stem variables to local memory. 
  3956.        restorelocalstems*   Reads all local stem variable from local memory. 
  3957.  
  3958.  
  3959. ΓòÉΓòÉΓòÉ 150. savelocalstems ΓòÉΓòÉΓòÉ
  3960.  
  3961.  savelocalstems 
  3962.  
  3963.  
  3964.        Writes local stem variables to local memory . 
  3965.  
  3966.        f=savelocalstems([StemList,Filename]) 
  3967.  
  3968.        StemList -  Optional Argument - A list of stemnames to be saved 
  3969.       separated by spaces. Any stemname that starts with one of the names in 
  3970.       the list will be saved. eg "JIM LES" will save all stems starting with 
  3971.       JIM or LES 
  3972.        Filename -  Optional Filename - file to save the StemList data in if 
  3973.       StemList is defined. 
  3974.  
  3975.        If No argument is supplied then all stems are saved. 
  3976.  
  3977.        This memory is only accessible from the current process; 
  3978.        This function requires a licensed copy of "Modular And Integrated 
  3979.       Design" to be installed. 
  3980.  
  3981.        Contents. 
  3982.        Section 08 Global Stem Variable Functions. 
  3983.  
  3984.  
  3985. ΓòÉΓòÉΓòÉ 151. restorelocalstems ΓòÉΓòÉΓòÉ
  3986.  
  3987.  restorelocalstems 
  3988.  
  3989.  
  3990.        Reads local stem variables from local memory . 
  3991.  
  3992.        f=restorelocalstems([StemList,Filename]) 
  3993.  
  3994.        StemList -  Optional Argument - A list of stemnames to be restored 
  3995.       separated by spaces. Any stemname that starts with one of the names in 
  3996.       the list will be restored. eg "JIM LES" will restore all stems starting 
  3997.       with JIM or LES 
  3998.        Filename -  Optional Filename - file from which to restore the StemList 
  3999.       data  if StemList is defined. 
  4000.        Filename must have been defined with the previous savelocalstems call. 
  4001.  
  4002.        If No argument is supplied then all stems are restored. 
  4003.  
  4004.        This memory is only accessible from the current process; 
  4005.        This function requires a licensed copy of "Modular And Integrated 
  4006.       Design" to be installed. 
  4007.  
  4008.        Contents. 
  4009.        Section 08 Global Stem Variable Functions. 
  4010.  
  4011.  
  4012. ΓòÉΓòÉΓòÉ 152. Section 09 General Functions ΓòÉΓòÉΓòÉ
  4013.  
  4014.  Section 09 - General Functions 
  4015.  
  4016.  
  4017.        pause   Pause in milliseconds. 
  4018.        beep   Beeps at Frequency for Duration milliseconds. 
  4019.        execute   Executes Filename. 
  4020.        syscommand*   Executes System Command. 
  4021.        getosversion   Get operating system version information. 
  4022.        listprinters   List available printers to a stem variable. 
  4023.        getdefaultprinter   Returns default printer. 
  4024.        setdefaultprinter   Set default printer. 
  4025.        printstring*   Print string to default printer. 
  4026.        printfile*   Print file to default printer. 
  4027.        playwave   Play a wave file. 
  4028.        importwindow*   Import a desktop window  to become a child of a parent 
  4029.       desktop window . 
  4030.        exportwindow*   Export a child desktop window  imported with 
  4031.       importwindow . 
  4032.        validatestringchars*   Validates that a string only contains certain 
  4033.       characters. 
  4034.        removestringchars*   Removes certain characters from a string. 
  4035.        addfuncfromfile*   Add a list of functions from a file. 
  4036.        closethreadhandles*   Close thread handles from non-active threads. 
  4037.        validatestringformat*   Validate the format of a string. 
  4038.        getrexxioversion* Returns the REXXIO version information . 
  4039.        reformatdatestring*   Reformats a date string. 
  4040.        messagebeep   Plays a waveform sound or beeps the system speaker. 
  4041.  
  4042.        Contents. 
  4043.  
  4044.  
  4045. ΓòÉΓòÉΓòÉ 153. pause ΓòÉΓòÉΓòÉ
  4046.  
  4047.  pause 
  4048.  
  4049.  
  4050.        Pause in milliseconds . 
  4051.  
  4052.        f=pause(Millisecs) 
  4053.  
  4054.        Millisecs  - number of milli-seconds to pause 
  4055.  
  4056.        Contents. 
  4057.        Section 09 General Functions. 
  4058.  
  4059.  
  4060. ΓòÉΓòÉΓòÉ 154. beep ΓòÉΓòÉΓòÉ
  4061.  
  4062.  beep 
  4063.  
  4064.  
  4065.        Beeps at Frequency for Duration milliseconds . 
  4066.  
  4067.        f=beep(Frequency,Duration) 
  4068.  
  4069.        Frequency  - frequency of beep 
  4070.        Duration  - duration of beep in milliseconds 
  4071.  
  4072.        Contents. 
  4073.        Section 09 General Functions. 
  4074.  
  4075.  
  4076. ΓòÉΓòÉΓòÉ 155. execute ΓòÉΓòÉΓòÉ
  4077.  
  4078.  execute 
  4079.  
  4080.  
  4081.        Executes Filename with Parameters in DefaultDirectory . 
  4082.  
  4083.        f=execute(Filename[,Parameters][,DefaultDirectory][,Show]) 
  4084.  
  4085.        Filename  - name of file 
  4086.        Parameters  - parameters to pass 
  4087.        DefaultDirectory  - default directory to run in 
  4088.        Show  - how to run the window 
  4089.        Show can be - 
  4090.        "SHOWNORMAL" 
  4091.        "HIDE" 
  4092.        "MAXIMIZE" 
  4093.        MINIMIZE" 
  4094.        "RESTORE" 
  4095.        "SHOWDEFAULT" 
  4096.        "SHOWMAXIMIZED" 
  4097.        "SHOWMINIMIZED" 
  4098.        "SHOWMINNOACTIVE" 
  4099.        "SHOWNA" 
  4100.        "SHOWNOACTIVATE" 
  4101.        "SHOW" 
  4102.  
  4103.        Contents. 
  4104.        Section 09 General Functions. 
  4105.  
  4106.  
  4107. ΓòÉΓòÉΓòÉ 156. syscommand ΓòÉΓòÉΓòÉ
  4108.  
  4109.  syscommand 
  4110.  
  4111.  
  4112.        Executes System Command . 
  4113.  
  4114.        ReturnCode=syscommand(SystemCommand[,"NOWAIT"]) 
  4115.  
  4116.        SystemCommand  - system command to execute 
  4117.        "NOWAIT"  - do not wait for the System Command to complete 
  4118.        e.g. "dir > file1" places a directory list into file1 
  4119.        "sort /R < file1 > file2" runs sort on file1 with output to file2 
  4120.        If "NOWAIT" is NOT passed as an argument the Return Code of the process 
  4121.       is passed back, else 0 is returned. 
  4122.  
  4123.        This function requires a licensed copy of "Modular And Integrated 
  4124.       Design" to be installed. 
  4125.  
  4126.        Contents. 
  4127.        Section 09 General Functions. 
  4128.  
  4129.  
  4130. ΓòÉΓòÉΓòÉ 157. getosversion ΓòÉΓòÉΓòÉ
  4131.  
  4132.  getosversion 
  4133.  
  4134.  
  4135.        Returns the operating system version information . 
  4136.  
  4137.        osversion=getosversion() 
  4138.  
  4139.        No Arguments 
  4140.  
  4141.        Contents. 
  4142.        Section 09 General Functions. 
  4143.  
  4144.  
  4145. ΓòÉΓòÉΓòÉ 158. listprinters ΓòÉΓòÉΓòÉ
  4146.  
  4147.  listprinters 
  4148.  
  4149.  
  4150.        List available printers to a stem variable (available on windows only). 
  4151.  
  4152.        f=listprinters(StemVariable[,PrinterType]) 
  4153.  
  4154.        StemVariable  - name Stem Variable to place results in 
  4155.        PrinterType  - optional - valid for NT only - if left out list local 
  4156.       printers only. 
  4157.        can be one of the following (separated by commas e.g. 
  4158.       "LOCAL,CONNECTIONS") - 
  4159.        LOCAL - list local printers (Default) 
  4160.        CONNECTIONS - list printers to which the user has made previous 
  4161.       connections 
  4162.        NETWORK - list network printers in the computers domain 
  4163.        REMOTE - list network printers and print servers in the computers domain 
  4164.  
  4165.        StemVariable .0 -  number of printers 
  4166.        ... 
  4167.        StemVariable .i - Entry for ith printer 
  4168.  
  4169.        Contents. 
  4170.        Section 09 General Functions. 
  4171.  
  4172.  
  4173. ΓòÉΓòÉΓòÉ 159. getdefaultprinter ΓòÉΓòÉΓòÉ
  4174.  
  4175.  getdefaultprinter 
  4176.  
  4177.  
  4178.        Returns default printer (available on windows only). 
  4179.  
  4180.        DefaultPrinter=getdefaultprinter() 
  4181.  
  4182.        No Arguments 
  4183.  
  4184.        Contents. 
  4185.        Section 09 General Functions. 
  4186.  
  4187.  
  4188. ΓòÉΓòÉΓòÉ 160. setdefaultprinter ΓòÉΓòÉΓòÉ
  4189.  
  4190.  setdefaultprinter 
  4191.  
  4192.  
  4193.        Set default printer (available on windows only). 
  4194.  
  4195.        f=setdefaultprinter(PrinterName) 
  4196.  
  4197.        PrinterName  - name of printer 
  4198.  
  4199.        Contents. 
  4200.        Section 09 General Functions. 
  4201.  
  4202.  
  4203. ΓòÉΓòÉΓòÉ 161. printstring ΓòÉΓòÉΓòÉ
  4204.  
  4205.  printstring 
  4206.  
  4207.  
  4208.        Print string to default printer. 
  4209.  
  4210.        f=printstring(PrintString) 
  4211.  
  4212.        PrintString  - string to print 
  4213.  
  4214.        This function requires a licensed copy of "Modular And Integrated 
  4215.       Design" to be installed. 
  4216.  
  4217.        Contents. 
  4218.        Section 09 General Functions. 
  4219.  
  4220.  
  4221. ΓòÉΓòÉΓòÉ 162. printfile ΓòÉΓòÉΓòÉ
  4222.  
  4223.  printfile 
  4224.  
  4225.  
  4226.        Print file to default printer. 
  4227.  
  4228.        f=printfile(FileName) 
  4229.  
  4230.        FileName  - file to print 
  4231.  
  4232.        This function requires a licensed copy of "Modular And Integrated 
  4233.       Design" to be installed. 
  4234.  
  4235.        Contents. 
  4236.        Section 09 General Functions. 
  4237.  
  4238.  
  4239. ΓòÉΓòÉΓòÉ 163. playwave ΓòÉΓòÉΓòÉ
  4240.  
  4241.  playwave 
  4242.  
  4243.  
  4244.        Play a wave file  (available on windows only). 
  4245.  
  4246.        f=playwave(WaveFileName[,SyncFlag]) 
  4247.  
  4248.        WaveFileName  - name of .wav wave file to play 
  4249.        SyncFlag  - optional flag - 0 for async playback, 1 for sync playback - 
  4250.       default 0 
  4251.  
  4252.        Contents. 
  4253.        Section 09 General Functions. 
  4254.  
  4255.  
  4256. ΓòÉΓòÉΓòÉ 164. importwindow ΓòÉΓòÉΓòÉ
  4257.  
  4258.  importwindow 
  4259.  
  4260.  
  4261.        Import a desktop window  to become a child of a parent desktop 
  4262.       window(available on windows only). 
  4263.  
  4264.       f=importwindow(ParentWindow,ChildWindow[,Xposition,Yposition,Width,Height]) 
  4265.  
  4266.        ParentWindow  - title of desktop window that will contain the child to 
  4267.       be imported 
  4268.        ChildWindow  - title of child desktop window to be imported from the 
  4269.       desktop 
  4270.        Xposition - (optional)x coordinate of the child window (Default entire 
  4271.       client area of Parent) 
  4272.        Yposition,  - (optional)y coordinate of the child window 
  4273.        Width  - (optional)width of the child window 
  4274.        Height  - (optional) height of the child window 
  4275.  
  4276.        Contents. 
  4277.        Section 09 General Functions. 
  4278.  
  4279.  
  4280. ΓòÉΓòÉΓòÉ 165. exportwindow ΓòÉΓòÉΓòÉ
  4281.  
  4282.  exportwindow 
  4283.  
  4284.  
  4285.        Export a child desktop window  imported with importwindow (available on 
  4286.       windows only). 
  4287.  
  4288.        f=exportwindow(ParentWindow[,Xposition,Yposition,Width,Height]) 
  4289.  
  4290.        ParentWindow  - title of desktop window that contains the child to be 
  4291.       exported 
  4292.        Xposition - (optional)x coordinate of the exported window on the desktop 
  4293.       (Default existing child size) 
  4294.        Yposition,  - (optional)y coordinate of the exported window on the 
  4295.       desktopw 
  4296.        Width  - (optional)width of the exported window on the desktop 
  4297.        Height  - (optional) height of the exported window on the desktop 
  4298.  
  4299.        Contents. 
  4300.        Section 09 General Functions. 
  4301.  
  4302.  
  4303. ΓòÉΓòÉΓòÉ 166. validatestringchars ΓòÉΓòÉΓòÉ
  4304.  
  4305.  validatestringchars 
  4306.  
  4307.  
  4308.        Validates that a string only contains certain characters. 
  4309.  
  4310.        f=validatestringchars(Filename,CharList,ValidateType) 
  4311.  
  4312.        Filename  - name of file 
  4313.        CharList  - list of characters 
  4314.        ValidateType  - 1 or 0. 
  4315.        If 1 validates string only contains characters in CharList.. 
  4316.        If 0 validates string only contains characters not in CharList.. 
  4317.  
  4318.        Returns 1 if the string is valid, else returns 0. 
  4319.  
  4320.        This function requires a licensed copy of "Modular And Integrated 
  4321.       Design" to be installed. 
  4322.  
  4323.        Contents. 
  4324.        Section 09 General Functions. 
  4325.  
  4326.  
  4327. ΓòÉΓòÉΓòÉ 167. removestringchars ΓòÉΓòÉΓòÉ
  4328.  
  4329.  removestringchars 
  4330.  
  4331.  
  4332.        Removes certain characters from a string. 
  4333.  
  4334.        newstring=removestringchars(Filename,CharList,ValidateType) 
  4335.  
  4336.        Filename  - name of file 
  4337.        CharList  - list of characters 
  4338.        ValidateType  - 1 or 0. 
  4339.        If 1 removes characters in CharList from the string. 
  4340.        If 0 removes characters not in CharList from the string. 
  4341.  
  4342.        Returns string with characters removed. 
  4343.  
  4344.        This function requires a licensed copy of "Modular And Integrated 
  4345.       Design" to be installed. 
  4346.  
  4347.        Contents. 
  4348.        Section 09 General Functions. 
  4349.  
  4350.  
  4351. ΓòÉΓòÉΓòÉ 168. addfuncfromfile ΓòÉΓòÉΓòÉ
  4352.  
  4353.  addfuncfromfile 
  4354.  
  4355.  
  4356.        Add a list of functions from a file. 
  4357.  
  4358.        f=addfuncfromfile(Filename) 
  4359.  
  4360.        Filename  - name of file 
  4361.        Each line contains name, module and procedure seperated by commas. 
  4362.        eg 
  4363.        Func1,FUNC1DLL,func1 
  4364.  
  4365.        This function requires a licensed copy of "Modular And Integrated 
  4366.       Design" to be installed. 
  4367.  
  4368.        Contents. 
  4369.        Section 09 General Functions. 
  4370.  
  4371.  
  4372. ΓòÉΓòÉΓòÉ 169. closethreadhandles ΓòÉΓòÉΓòÉ
  4373.  
  4374.  closethreadhandles 
  4375.  
  4376.  
  4377.        Close thread handles from non-active threads  (available on windows 
  4378.       only) . 
  4379.  
  4380.        f=closethreadhandles() 
  4381.  
  4382.        No Arguments 
  4383.        Some dll's create threads and leave the thread handle open after the 
  4384.       thread has stopped running. This function searches for those handles and 
  4385.       closes them. 
  4386.  
  4387.        This function requires a licensed copy of "Modular And Integrated 
  4388.       Design" to be installed. 
  4389.  
  4390.        Contents. 
  4391.        Section 09 General Functions. 
  4392.  
  4393.  
  4394. ΓòÉΓòÉΓòÉ 170. validatestringformat ΓòÉΓòÉΓòÉ
  4395.  
  4396.  validatestringformat 
  4397.  
  4398.  
  4399.        Validate the format of a string. 
  4400.  
  4401.        f=validatestringformat(String,stemformat[,Frequency,Duration]) 
  4402.  
  4403.        String  - string to test 
  4404.        stemformat  - stemname of stem containing the formatting validation 
  4405.       information 
  4406.        Frequency  - optional - frequency of beep if an error occurs 
  4407.        Duration  - optional - duration of beep in milliseconds if an error 
  4408.       occurs 
  4409.  
  4410.        stemformat.TYPE - can be one of 
  4411.        "INTEGER" - integer comprising of digits only 
  4412.        "DECIMAL" - decimal number 
  4413.        "ALPHANUMERIC" - alphanumeric chars 
  4414.        "ALPHA" - alpha characters only 
  4415.        "ANYCHARS" - any characters allowed 
  4416.        "SETMESSAGE" - sets error messages to the custom message - only needs to 
  4417.       be called once per process - messages can be up to 255 characters long 
  4418.  
  4419.        stemformat.INTEGER - custom error message if invalid integer number - 
  4420.       ignored if NULL "" and set if stemformat.TYPE is "SETMESSAGE" 
  4421.        stemformat.DECIMAL - custom error message if invalid decimal number - 
  4422.       ignored if NULL "" and set if stemformat.TYPE is "SETMESSAGE" 
  4423.        stemformat.ALPHANUMERIC - custom error message if invalid alphanumeric 
  4424.       string - ignored if NULL "" and set if stemformat.TYPE is "SETMESSAGE" 
  4425.        stemformat.ALPHA - custom error message if invalid alpha string - 
  4426.       ignored if NULL "" and set if stemformat.TYPE is "SETMESSAGE" 
  4427.        stemformat.MINMESSAGE - custom error message if string below 
  4428.       stemformat.MIN length - ignored if NULL "" and set if stemformat.TYPE is 
  4429.       "SETMESSAGE" 
  4430.        stemformat.MAXMESSAGE - custom error message if string below 
  4431.       stemformat.MIN length - ignored if NULL "" and set if stemformat.TYPE is 
  4432.       "SETMESSAGE" 
  4433.        stemformat.MINNUMBERMESSAGE - custom error message if string below 
  4434.       stemformat.MIN length - ignored if NULL "" 
  4435.        stemformat.MAXNUMBERMESSAGE - custom error message if string below 
  4436.       stemformat.MIN length - ignored if NULL "" and set if stemformat.TYPE is 
  4437.       "SETMESSAGE" 
  4438.        stemformat.DECPLACEBEFOREMESSAGE - custom error message if string below 
  4439.       stemformat.MIN length - ignored if NULL "" and set if stemformat.TYPE is 
  4440.       "SETMESSAGE" 
  4441.        stemformat.DECPLACEAFTERMESSAGE - custom error message if string below 
  4442.       stemformat.MIN length - ignored if NULL "" and set if stemformat.TYPE is 
  4443.       "SETMESSAGE" 
  4444.  
  4445.        Default messages - 
  4446.  
  4447.        stemformat. MINMESSAGE - "string shorter than minimum length" 
  4448.        stemformat. MAXMESSAGE - "string longer than maximum length" 
  4449.        stemformat. MINNUMBERMESSAGE - "number below minimum specified" 
  4450.        stemformat. MAXNUMBERMESSAGE - "number above maximum specified" 
  4451.        stemformat. DECPLACEBEFOREMESSAGE - "wrong number of decimal places 
  4452.       before decimal point" 
  4453.        stemformat. DECPLACEAFTERMESSAGE - "wrong number of decimal places after 
  4454.       decimal point" 
  4455.        stemformat. INTEGER - "invalid integer number" 
  4456.        stemformat. DECIMAL - "invalid decimal number" 
  4457.        stemformat. ALPHANUMERIC - "invalid alphanumeric string" 
  4458.        stemformat. ALPHA - "invalid alpha string" 
  4459.  
  4460.        stemformat.MIN - minimum length of string - ignored if NULL "" 
  4461.        stemformat.MAX - maximum length of string - ignored if NULL "" 
  4462.        stemformat.MINNUMBER - if type "INTEGER" or "DECIMAL" smallest number 
  4463.       allowed - ignored if NULL "" 
  4464.        stemformat.MAXNUMBER - if type "INTEGER" or "DECIMAL" largest number 
  4465.       allowed - ignored if NULL "" 
  4466.        stemformat.DECPLACEBEFORE - if type "DECIMAL" number of deciaml places 
  4467.       before the decimal point - ignored if NULL "" 
  4468.        stemformat.DECPLACEAFTER - if type "DECIMAL" number of deciaml places 
  4469.       after the decimal point - ignored if NULL "" 
  4470.        stemformat.IGNOREUNTILVALID - "YES" will not check for MIN MINNUMBER 
  4471.       DECPLACEBEFORE and DECPLACEAFTER if the string is less than the required 
  4472.       value - set to "YES" if a NULL "" string is passed - set to NULL "" once 
  4473.       the string is within range - ignored if NULL "" 
  4474.        stemformat.ERRMESSAGE - error message - NULL "" if no error 
  4475.        stemformat.NEWSTRING - corrected string 
  4476.  
  4477.        Returns 1 if the string is valid, else returns 0. 
  4478.        The string with any illegal characters removed is returned in 
  4479.       stemformat.NEWSTRING . 
  4480.  
  4481.        This function requires a licensed copy of "Modular And Integrated 
  4482.       Design" to be installed. 
  4483.  
  4484.        Contents. 
  4485.        Section 09 General Functions. 
  4486.  
  4487.  
  4488. ΓòÉΓòÉΓòÉ 171. getrexxioversion ΓòÉΓòÉΓòÉ
  4489.  
  4490.  getrexxioversion 
  4491.  
  4492.  
  4493.        Returns the REXXIO version information . 
  4494.  
  4495.        rexxioversion=getrexxioversion() 
  4496.  
  4497.        No Arguments 
  4498.  
  4499.        Contents. 
  4500.        Section 09 General Functions. 
  4501.  
  4502.  
  4503. ΓòÉΓòÉΓòÉ 172. reformatdatestring ΓòÉΓòÉΓòÉ
  4504.  
  4505.  reformatdatestring 
  4506.  
  4507.  
  4508.        Reformats a date string . 
  4509.  
  4510.        newdatestring=reformatdatestring(OldDatestring,OldFormat,NewFormat) 
  4511.  
  4512.        OldDatestring -  duration of beep in milliseconds if an error occurs 
  4513.        OldFormat -  String containing formatiing characters 
  4514.        NewFormat -  String containing formatiing characters 
  4515.  
  4516.        Formating characters - 
  4517.        YYYY -  Four digit year eg 1999 2000 
  4518.        YY -  Two digit year eg 99 00 
  4519.        MMM -  Month - Three chars eg Jan Feb Mar Apr May Jun Jul Aug Sep Oct 
  4520.       Nov Dec 
  4521.        MM -  Month - Two digits eg 01 02 03 04 05 06 07 08 09 10 11 12 
  4522.        DD -  Day - Two digits eg 01 02 03 04 05 06 07 08 09 10 ... 31 
  4523.        hh -  Hours - Two digits 
  4524.        mm -  Minutes - Two digits 
  4525.        ss -  Seconds - Two digits 
  4526.  
  4527.        eg 
  4528.        newdatestring=reformatdatestring("1999-03-25 12:13:14","YYYY-MM-DD 
  4529.       hh:mm:ss","MM/DD/YY") 
  4530.        sets newdatestring to "03/25/99" 
  4531.  
  4532.        newdatestring=reformatdatestring(OldDatestring,OldFormat,NewFormat) 
  4533.  
  4534.        Contents. 
  4535.        Section 09 General Functions. 
  4536.  
  4537.  
  4538. ΓòÉΓòÉΓòÉ 173. messagebeep ΓòÉΓòÉΓòÉ
  4539.  
  4540.  messagebeep 
  4541.  
  4542.  
  4543.        Beeps the system speaker for Duration milliseconds.  (available on 
  4544.       windows only) 
  4545.  
  4546.        f=messagebeep(Waveform) 
  4547.  
  4548.        Waveform  - type of  waveform sound to play 
  4549.        can be one of - 
  4550.        "STANDARD"  - Standard beep using the computer speaker 
  4551.        "ICONASTERISK"  - System Asterisk 
  4552.        "ICONEXCLAMATION"  - System Exclamation 
  4553.        "ICONHAND"  - System Hand 
  4554.        "ICONQUESTION"  - System Question 
  4555.        "OK"  - System Default 
  4556.  
  4557.        Contents. 
  4558.        Section 09 General Functions. 
  4559.  
  4560.  
  4561. ΓòÉΓòÉΓòÉ 174. Section 10 Comms Functions ΓòÉΓòÉΓòÉ
  4562.  
  4563.  Section 10 - Comms Functions 
  4564.  
  4565.  
  4566.        opencommport*   Open Comm Port. 
  4567.        closecommport*   Close Comm Port. 
  4568.        readcommport*   Read from Comm Port. 
  4569.        writecommport*   Write to Comm Port. 
  4570.        readcommtofile*   Read from Comm Port to file. 
  4571.        stopreadcommtofile*   Stop Read from Comm Port to file. 
  4572.        writecommfromfile*   Write from file to Comm Port. 
  4573.        writewaitreplycomm*   Write to Comm Port. and wait for reply. 
  4574.        clearcommbuffer*   Flushes the transmit buffer. 
  4575.  
  4576.        Contents. 
  4577.  
  4578.  
  4579. ΓòÉΓòÉΓòÉ 175. opencommport ΓòÉΓòÉΓòÉ
  4580.  
  4581.  opencommport 
  4582.  
  4583.  
  4584.        Open Comm Port  (available on windows only). 
  4585.  
  4586.       f=opencommport(CommPort[,BaudRate[,ByteSize[,Parity[,StopBits[,Protocol]]]]) 
  4587.  
  4588.        CommPort  - comm port number eg COM1 
  4589.        BaudRate  - comm port speed - default 9600 
  4590.        ByteSize  - 4,5,6,7 or 8 - default 8 
  4591.        Parity  - no,odd,even,mark,space - default no 
  4592.        StopBits  - 1,1.5,2 - default 1 
  4593.        Protocol  - string defining protocol to use - can be combination of 
  4594.       "RTSCTS" "DTRDSR" "XONXOFF" 
  4595.        RTSCTS - request-to-send clear-to-send 
  4596.        DTRDSR - data-terminal-ready data-set-ready 
  4597.        XONXOFF -XON XOFF flow control 
  4598.  
  4599.        This function requires a licensed copy of "Modular And Integrated 
  4600.       Design" to be installed. 
  4601.  
  4602.        Contents. 
  4603.        Section 10 Comms Functions. 
  4604.  
  4605.  
  4606. ΓòÉΓòÉΓòÉ 176. closecommport ΓòÉΓòÉΓòÉ
  4607.  
  4608.  closecommport 
  4609.  
  4610.  
  4611.        Close Comm Port  (available on windows only). 
  4612.  
  4613.        f=closecommport(CommPort) 
  4614.  
  4615.        CommPort  - comm port number eg COM1 
  4616.  
  4617.        This function requires a licensed copy of "Modular And Integrated 
  4618.       Design" to be installed. 
  4619.  
  4620.        Contents. 
  4621.        Section 10 Comms Functions. 
  4622.  
  4623.  
  4624. ΓòÉΓòÉΓòÉ 177. readcommport ΓòÉΓòÉΓòÉ
  4625.  
  4626.  readcommport 
  4627.  
  4628.  
  4629.        Read from Comm Port  (available on windows only). 
  4630.  
  4631.        string=readcommport(CommPort[,NoChars[,[READ[RESET]]Timeout]]) 
  4632.  
  4633.        CommPort  - comm port number eg COM1 
  4634.        NoChars  - no of chars to read - waits for the comm port to receive the 
  4635.       chars - default to 1 
  4636.        Timeout  - if nothing read after Timeout millisecs then return - set to 
  4637.       zero (0) for no timeout (default) 
  4638.        If preceded by the chars "READ" (do not include quotes) the entire read 
  4639.       function timesout after Timeout Millisecs, 
  4640.        otherwise it waits for an initial response within Timeout Millisecs. 
  4641.        If "READ" is followed by the chars "RESET" (do not include quotes)  eg 
  4642.       "READRESET" the timeout starts from the last character read in, else the 
  4643.       timeout starts from the first character read in. 
  4644.  
  4645.        e.g. if Timeout="READ60000" the function will return after 1 minute 
  4646.       regardless of how many chars  are read in.  If Timeout="60000" the 
  4647.       function will return after 1 minute if no chars have been read but will 
  4648.       not timeout if chars have been read in the first minute. 
  4649.  
  4650.        The Comm Port must be opened with the opencommport function. 
  4651.  
  4652.        Returns 
  4653.        String of chars read from commport. 
  4654.        RESULT.TIMEOUT  - 0 if no timeout - 1 if timeout occured 
  4655.  
  4656.        This function requires a licensed copy of "Modular And Integrated 
  4657.       Design" to be installed. 
  4658.  
  4659.        Contents. 
  4660.        Section 10 Comms Functions. 
  4661.  
  4662.  
  4663. ΓòÉΓòÉΓòÉ 178. writecommport ΓòÉΓòÉΓòÉ
  4664.  
  4665.  writecommport 
  4666.  
  4667.  
  4668.        Write to Comm Port  (available on windows only). 
  4669.  
  4670.        nobyteswritten=writecommport(CommPort,String[,WriteTimeout]) 
  4671.  
  4672.        CommPort  - comm port number eg COM1 
  4673.        String  - string to write to the comm port 
  4674.        WriteTimeout  - if nothing written after Timeout millisecs then return - 
  4675.       set to zero (0) for no timeout (default) 
  4676.  
  4677.        The Comm Port must be opened with the opencommport function. 
  4678.  
  4679.        Returns no of bytes written. 
  4680.  
  4681.        This function requires a licensed copy of "Modular And Integrated 
  4682.       Design" to be installed. 
  4683.  
  4684.        Contents. 
  4685.        Section 10 Comms Functions. 
  4686.  
  4687.  
  4688. ΓòÉΓòÉΓòÉ 179. readcommtofile ΓòÉΓòÉΓòÉ
  4689.  
  4690.  readcommtofile 
  4691.  
  4692.  
  4693.        Read from Comm Port to file  (available on windows only) . 
  4694.  
  4695.        f=readcommtofile(CommPort,FileName[,[READ[RESET]]Timeout]) 
  4696.  
  4697.        CommPort  - comm port number eg COM1 
  4698.        Filename  - name of file to read to 
  4699.        Timeout  - if nothing read after Timeout millisecs then 
  4700.       stopreadcommtofile is automatically executed - set to zero (0) for no 
  4701.       timeout (default) 
  4702.        If preceded by the chars "READ" (do not include quotes) the entire read 
  4703.       function timesout after Timeout Millisecs, 
  4704.        otherwise it waits for an initial response within Timeout Millisecs 
  4705.        If "READ" is followed by the chars "RESET" (do not include quotes)  eg 
  4706.       "READRESET" the timeout starts from the last character read in, else the 
  4707.       timeout starts from the first character read in. 
  4708.  
  4709.        e.g. if Timeout="READ60000" the function will return after 1 minute 
  4710.       regardless of how many chars  are read in.  If Timeout="60000" the 
  4711.       function will return after 1 minute if no chars have been read but will 
  4712.       not timeout if chars have been read in the first minute. 
  4713.        If a timeout occurs the string "\r\nTIMEOUT\r\n" is appended to the file 
  4714.  
  4715.        The Comm Port must be opened with the opencommport function. 
  4716.  
  4717.        This function requires a licensed copy of "Modular And Integrated 
  4718.       Design" to be installed. 
  4719.  
  4720.        Contents. 
  4721.        Section 10 Comms Functions. 
  4722.  
  4723.  
  4724. ΓòÉΓòÉΓòÉ 180. stopreadcommtofile ΓòÉΓòÉΓòÉ
  4725.  
  4726.  stopreadcommtofile 
  4727.  
  4728.  
  4729.        Stop Read from Comm Port to file  (available on windows only) . 
  4730.  
  4731.        f=stopreadcommtofile(CommPort) 
  4732.  
  4733.        CommPort  - comm port number eg COM1 
  4734.  
  4735.        The Comm Port must be opened with the opencommport function. 
  4736.  
  4737.        This function requires a licensed copy of "Modular And Integrated 
  4738.       Design" to be installed. 
  4739.  
  4740.        Contents. 
  4741.        Section 10 Comms Functions. 
  4742.  
  4743.  
  4744. ΓòÉΓòÉΓòÉ 181. writecommfromfile ΓòÉΓòÉΓòÉ
  4745.  
  4746.  writecommfromfile 
  4747.  
  4748.  
  4749.        Write from file to Comm Port  (available on windows only) . 
  4750.  
  4751.        f=writecommfromfile(CommPort,FileName[,WriteTimeout]) 
  4752.  
  4753.        CommPort  - comm port number eg COM1 
  4754.        Filename  - name of file to write from 
  4755.        WriteTimeout  - if nothing written after Timeout millisecs then return - 
  4756.       set to zero (0) for no timeout (default) 
  4757.  
  4758.        The Comm Port must be opened with the opencommport function. 
  4759.  
  4760.        This function requires a licensed copy of "Modular And Integrated 
  4761.       Design" to be installed. 
  4762.  
  4763.        Contents. 
  4764.        Section 10 Comms Functions. 
  4765.  
  4766.  
  4767. ΓòÉΓòÉΓòÉ 182. writewaitreplycomm ΓòÉΓòÉΓòÉ
  4768.  
  4769.  writewaitreplycomm 
  4770.  
  4771.  
  4772.        Write to Comm Port. and wait for reply (available on windows only). 
  4773.  
  4774.       nobyteswritten=writewaitreplycomm(CommPort,String,FileName,ReplyLength[,[READ[RESET]]Timeout[WRITEWriteTimeout],[StartChar,EndChar]]) 
  4775.  
  4776.        CommPort  - comm port number eg COM1 
  4777.        String  - string to write to the comm port 
  4778.        Filename  - name of file to place reply in 
  4779.        ReplyLength  - length of reply - Zero (0) means unknown length and 
  4780.       StartChar and EndChar must be given 
  4781.        Timeout  - if nothing read after Timeout millisecs then return - set to 
  4782.       zero (0) for no timeout (default) 
  4783.        If preceded by the chars "READ" (do not include quotes) the entire read 
  4784.       function timesout after Timeout Millisecs, 
  4785.        otherwise it waits for an initial response within Timeout Millisecs 
  4786.        If "READ" is followed by the chars "RESET" (do not include quotes)  eg 
  4787.       "READRESET" the timeout starts from the last character read in, else the 
  4788.       timeout starts from the first character read in. 
  4789.  
  4790.        e.g. if Timeout="READ60000" the function will return after 1 minute 
  4791.       regardless of how many chars  are read in.  If Timeout="60000" the 
  4792.       function will return after 1 minute if no chars have been read but will 
  4793.       not timeout if chars have been read in the first minute. 
  4794.  
  4795.        WriteTimeout  - if nothing written after WriteTimeout millisecs then 
  4796.       return - set to zero (0) for no timeout (default). The read timeout must 
  4797.       be followed by the chars "WRITE" (do not include quotes) and then the 
  4798.       WriteTimeout 
  4799.  
  4800.        eg "READRESET1000WRITE500" 
  4801.  
  4802.        StartChar  - 1st char in the reply - if not Zero (0) writewaitreplycomm 
  4803.       waits for this char to start the reply - ReplyLength must be Zero (0) 
  4804.        Must be a single char or the decimal representation of the char using 
  4805.       more than one char. 
  4806.        eg the char '1' can also be entered as '49' 
  4807.        eg decimal 2 must be entered as '02' (more than one char) 
  4808.        EndChar  - last char in the reply - ReplyLength must be Zero (0) 
  4809.        Must be a single char or the decimal representation of the char using 
  4810.       more than one char. 
  4811.        eg the char '1' can also be entered as '49' 
  4812.        eg decimal 2 must be entered as '02' (more than one char) 
  4813.  
  4814.        The Comm Port must be opened with the opencommport function. 
  4815.  
  4816.        Returns no of bytes written. 
  4817.        RESULT.TIMEOUT  - 0 if no timeout - 1 if timeout occured 
  4818.  
  4819.        This function requires a licensed copy of "Modular And Integrated 
  4820.       Design" to be installed. 
  4821.  
  4822.        Contents. 
  4823.        Section 10 Comms Functions. 
  4824.  
  4825.  
  4826. ΓòÉΓòÉΓòÉ 183. clearcommbuffer ΓòÉΓòÉΓòÉ
  4827.  
  4828.  clearcommbuffer 
  4829.  
  4830.  
  4831.        Flushes the transmit buffer (available on windows only). 
  4832.  
  4833.        f=clearcommbuffer(CommPort) 
  4834.  
  4835.        CommPort  - comm port number eg COM1 
  4836.  
  4837.        The Comm Port must be opened with the opencommport function. 
  4838.  
  4839.        This function requires a licensed copy of "Modular And Integrated 
  4840.       Design" to be installed. 
  4841.  
  4842.        Contents. 
  4843.        Section 10 Comms Functions. 
  4844.  
  4845.  
  4846. ΓòÉΓòÉΓòÉ 184. Section 11 Event Functions ΓòÉΓòÉΓòÉ
  4847.  
  4848.  Section 11 - Event Functions 
  4849.  
  4850.  
  4851.        whenwinchildsettitle*   When window with title/child 
  4852.       created/visible/invisible/destroyed then set window title. 
  4853.        whenwinchildrunscript*   When window with title/child 
  4854.       created/visible/invisible/destroyed then run script. 
  4855.        whenfilerunscript*   When file created/changed/destroyed then run 
  4856.       script. 
  4857.        whendirrunscript*   When directory created/changed/destroyed then run 
  4858.       script. 
  4859.  
  4860.        Contents. 
  4861.  
  4862.  
  4863. ΓòÉΓòÉΓòÉ 185. whenwinchildsettitle ΓòÉΓòÉΓòÉ
  4864.  
  4865.  whenwinchildsettitle 
  4866.  
  4867.  
  4868.        When window with title/child created/visible/invisible/destroyed then 
  4869.       set window title. 
  4870.  
  4871.        f=whenwinchildsettitle(Title,ChildText,EventType,NewTitle) 
  4872.  
  4873.        Title  - title of window to wait for 
  4874.        ChildText  - text of child window - ignored if NULL ("") 
  4875.        EventType  - can be one of "CREATED" "VISIBLE" "INVISIBLE" "DESTROYED" - 
  4876.       default VISIBLE 
  4877.        NewTitle  - new title 
  4878.        This function returns immediately and runs in background waiting for  a 
  4879.       window with title that contains child with text to be created and then 
  4880.       sets the new title. 
  4881.  
  4882.        This function requires a licensed copy of "Modular And Integrated 
  4883.       Design" to be installed. 
  4884.  
  4885.        Contents. 
  4886.        Section 11 Event Functions. 
  4887.  
  4888.  
  4889. ΓòÉΓòÉΓòÉ 186. whenwinchildrunscript ΓòÉΓòÉΓòÉ
  4890.  
  4891.  whenwinchildrunscript 
  4892.  
  4893.  
  4894.        When window with title/child created/visible/invisible/destroyed then 
  4895.       run script. 
  4896.  
  4897.        f=whenwinchildrunscript(Title,ChildText,EventType,Action) 
  4898.  
  4899.        Title  - title of window to wait for 
  4900.        ChildText  - text of child window - ignored if NULL ("") 
  4901.        EventType  - can be one of "CREATED" "VISIBLE" "INVISIBLE" "DESTROYED" - 
  4902.       default VISIBLE 
  4903.        Action -  can be 1) a Maid File or 2) a RexxScript file with arguments 
  4904.       or 3) Text containing REXX commands. 
  4905.  
  4906.        Maid File - the name or a Maid dialog to run 
  4907.        eg 
  4908.       f=whenwinchildrunscript("MyTitle","MyChild","VISIBLE","C:\MAID\EXAMPLES\EX01.MDE") 
  4909.  
  4910.        RexxScript with arguments - 
  4911.       RexxScript[,Argument0][,Argument1]...[,ArgumentN] 
  4912.        RexxScript - file name of Rexx script to run 
  4913.        Argument0 - optional argument 0 
  4914.        Argument1 - optional argument 1 
  4915.        ArgumentN - optional argument N 
  4916.        eg 
  4917.       f=whenwinchildrunscript("MyTitle","MyChild","VISIBLE","C:\MAID\EXAMPLES\TRYME.REX") 
  4918.  
  4919.        Text containing REXX commands 
  4920.        eg 
  4921.       f=whenwinchildrunscript("MyTitle","MyChild","VISIBLE",'f=MaidStartDialog("C:\MAID\EXAMPLES\EX01.MDE")') 
  4922.  
  4923.  
  4924.        This function returns immediately and runs in background waiting for 
  4925.       the window with EventType and then runs the specified script. 
  4926.  
  4927.        This function requires a licensed copy of "Modular And Integrated 
  4928.       Design" to be installed. 
  4929.  
  4930.        Contents. 
  4931.        Section 11 Event Functions. 
  4932.  
  4933.  
  4934. ΓòÉΓòÉΓòÉ 187. whenfilerunscript ΓòÉΓòÉΓòÉ
  4935.  
  4936.  whenfilerunscript 
  4937.  
  4938.  
  4939.        When file created/changed/destroyed then run script. 
  4940.  
  4941.        f=whenfilerunscript(Filename,EventType,Action) 
  4942.  
  4943.        Filename  - name of file 
  4944.        EventType  - can be one of "CREATED" "CHANGED" "DESTROYED" - default 
  4945.       CHANGED 
  4946.        Action -  can be 1) a Maid File or 2) a RexxScript file with arguments 
  4947.       or 3) Text containing REXX commands. 
  4948.  
  4949.        Maid File - the name or a Maid dialog to run 
  4950.        eg 
  4951.       f=whenfilerunscript("C:\MAID\README.TXT","CHANGED","C:\MAID\EXAMPLES\EX01.MDE") 
  4952.  
  4953.        RexxScript with arguments - 
  4954.       RexxScript[,Argument0][,Argument1]...[,ArgumentN] 
  4955.        RexxScript - file name of Rexx script to run 
  4956.        Argument0 - optional argument 0 
  4957.        Argument1 - optional argument 1 
  4958.        ArgumentN - optional argument N 
  4959.        eg 
  4960.       f=whenfilerunscript("C:\MAID\README.TXT","CHANGED""C:\MAID\EXAMPLES\TRYME.REX") 
  4961.  
  4962.        Text containing REXX commands 
  4963.        eg 
  4964.       f=whenfilerunscript("C:\MAID\README.TXT","CHANGED",'f=MaidStartDialog("C:\MAID\EXAMPLES\EX01.MDE")') 
  4965.  
  4966.  
  4967.        This function returns immediately and runs in background waiting for 
  4968.       the file with EventType and then runs the specified script. 
  4969.  
  4970.        This function requires a licensed copy of "Modular And Integrated 
  4971.       Design" to be installed. 
  4972.  
  4973.        Contents. 
  4974.        Section 11 Event Functions. 
  4975.  
  4976.  
  4977. ΓòÉΓòÉΓòÉ 188. whendirrunscript ΓòÉΓòÉΓòÉ
  4978.  
  4979.  whendirrunscript 
  4980.  
  4981.  
  4982.        When directory created/changed/destroyed then run script 
  4983.  
  4984.        f=whendirrunscript(Directory,EventType,Action) 
  4985.  
  4986.        Directory  - name of directory 
  4987.        EventType  - can be one of "CREATED" "CHANGED" "DESTROYED" - default 
  4988.       CHANGED 
  4989.        Action -  can be 1) a Maid File or 2) a RexxScript file with arguments 
  4990.       or 3) Text containing REXX commands. 
  4991.  
  4992.        Maid File - the name or a Maid dialog to run 
  4993.        eg f=whendirrunscript("C:\MAID","CHANGED","C:\MAID\EXAMPLES\EX01.MDE") 
  4994.  
  4995.        RexxScript with arguments - 
  4996.       RexxScript[,Argument0][,Argument1]...[,ArgumentN] 
  4997.        RexxScript - file name of Rexx script to run 
  4998.        Argument0 - optional argument 0 
  4999.        Argument1 - optional argument 1 
  5000.        ArgumentN - optional argument N 
  5001.        eg f=whendirrunscript("C:\MAID","CHANGED","C:\MAID\EXAMPLES\TRYME.REX") 
  5002.  
  5003.        Text containing REXX commands 
  5004.        eg 
  5005.       f=whendirrunscript("C:\MAID","CHANGED",'f=MaidStartDialog("C:\MAID\EXAMPLES\EX01.MDE")') 
  5006.  
  5007.  
  5008.        This function returns immediately and runs in background waiting for 
  5009.       the directory with EventType and then runs the specified script. 
  5010.  
  5011.        This function requires a licensed copy of "Modular And Integrated 
  5012.       Design" to be installed. 
  5013.  
  5014.        Contents. 
  5015.        Section 11 Event Functions. 
  5016.  
  5017.  
  5018. ΓòÉΓòÉΓòÉ 189. Section 12 Internet Functions ΓòÉΓòÉΓòÉ
  5019.  
  5020.  Section 12 - Internet Functions 
  5021.  
  5022.  
  5023.        geturl*   Get an internet url page. 
  5024.        geturlheader*   Get an internet url page header data. 
  5025.        getfiletags*   Get HTML tags from a file. 
  5026.        getfiletext*   Get text without tags from a file. 
  5027.        getfilealttext*   Get text without tags from a file and include any alt 
  5028.       definitions from the tags. 
  5029.        getnameofhost*   Get name of host. 
  5030.        gethostipaddress*   Get IP address of host. 
  5031.        geturlipaddress*   Get IP address from URL. 
  5032.        geturlstructure*   Get an internet url page and the pages referenced 
  5033.       beneath it. 
  5034.  
  5035.        Contents. 
  5036.  
  5037.  
  5038. ΓòÉΓòÉΓòÉ 190. geturl ΓòÉΓòÉΓòÉ
  5039.  
  5040.  geturl 
  5041.  
  5042.  
  5043.        Get an internet url page/data (available on windows only). 
  5044.  
  5045.        f=geturl(Filename,URL[,ParameterString[,Timeout]]) 
  5046.  
  5047.        Filename  - name of file in which to place the result - if NULL "" set 
  5048.       equal to currentdirectory/path/filename specified in the URL - if no 
  5049.       filename specified a temporary file is used - FileName used returned in 
  5050.       RESULT.FILENAME. 
  5051.        URL  - URL to get 
  5052.        ParameterString  - optional parameter string to specify the type of data 
  5053.       returned. This is typically can be a filename under the URL. It can also 
  5054.       be NULL "". 
  5055.        Timeout  - optiinal timeout in seconds - default 60 seconds 
  5056.  
  5057.        If the ParameterString is not specified, this function extracts the 
  5058.       source code of the URL from the internet and places it in the file , else 
  5059.       it returns the type of data requested by the ParameterString. 
  5060.        Any directory paths that do not exist in the filename are created 
  5061.       automatically. 
  5062.  
  5063.        An internet connection must be established prior to this call. 
  5064.        Returns 
  5065.        RESULT.FILEDATA - text strings describing file data 
  5066.        RESULT.FILENAME - name of the file 
  5067.  
  5068.        This function requires a licensed copy of "Modular And Integrated 
  5069.       Design" to be installed. 
  5070.  
  5071.        Contents. 
  5072.        Section 12 Internet Functions. 
  5073.  
  5074.  
  5075. ΓòÉΓòÉΓòÉ 191. geturlheader ΓòÉΓòÉΓòÉ
  5076.  
  5077.  geturlheader 
  5078.  
  5079.  
  5080.        Get an internet url page header data (available on windows only). 
  5081.  
  5082.        f=geturlheader(URL[,ParameterString[,Timeout]]) 
  5083.  
  5084.        URL  - URL to get 
  5085.        ParameterString  - optional parameter string to specify the type of data 
  5086.       returned. This is typically can be a filename under the URL. It can also 
  5087.       be NULL "". 
  5088.        Timeout  - optiinal timeout in seconds - default 60 seconds 
  5089.  
  5090.        If the ParameterString is not specified, this function extracts the 
  5091.       source code of the URL from the internet and places it in the file , else 
  5092.       it returns the type of data requested by the ParameterString. 
  5093.  
  5094.        An internet connection must be established prior to this call. 
  5095.        Returns 
  5096.        RESULT.FILEDATA - text strings describing file data 
  5097.  
  5098.        This function requires a licensed copy of "Modular And Integrated 
  5099.       Design" to be installed. 
  5100.  
  5101.        Contents. 
  5102.        Section 12 Internet Functions. 
  5103.  
  5104.  
  5105. ΓòÉΓòÉΓòÉ 192. getfiletags ΓòÉΓòÉΓòÉ
  5106.  
  5107.  getfiletags 
  5108.  
  5109.  
  5110.        Get HTML tags from a file (available on windows only). 
  5111.  
  5112.        TempFile=getfiletags(Filename) 
  5113.  
  5114.        Filename  - name of file. 
  5115.  
  5116.        Returns 
  5117.        RESULT.FILENAME - name of the TempFile 
  5118.        TempFile containing all the tags in FileName. 
  5119.  
  5120.        This function requires a licensed copy of "Modular And Integrated 
  5121.       Design" to be installed. 
  5122.  
  5123.        Contents. 
  5124.        Section 12 Internet Functions. 
  5125.  
  5126.  
  5127. ΓòÉΓòÉΓòÉ 193. getfiletext ΓòÉΓòÉΓòÉ
  5128.  
  5129.  getfiletext 
  5130.  
  5131.  
  5132.        Get text without tags from a file (available on windows only). 
  5133.  
  5134.        TempFile=getfiletext(Filename) 
  5135.  
  5136.        Filename  - name of file. 
  5137.  
  5138.        Returns 
  5139.        RESULT.FILENAME - name of the TempFile 
  5140.        TempFile containing all the text in FileName without the tags. 
  5141.  
  5142.        This function requires a licensed copy of "Modular And Integrated 
  5143.       Design" to be installed. 
  5144.  
  5145.        Contents. 
  5146.        Section 12 Internet Functions. 
  5147.  
  5148.  
  5149. ΓòÉΓòÉΓòÉ 194. getfilealttext ΓòÉΓòÉΓòÉ
  5150.  
  5151.  getfilealttext 
  5152.  
  5153.  
  5154.        Get text without tags from a file and include any alt definitions from 
  5155.       the tags (available on windows only). 
  5156.  
  5157.        TempFile=getfilealttext(Filename) 
  5158.  
  5159.        Filename  - name of file. 
  5160.  
  5161.        Returns 
  5162.        RESULT.FILENAME - name of the TempFile 
  5163.        TempFile containing all the text in FileName without the tags plus any 
  5164.       alt definitions. 
  5165.  
  5166.        This function requires a licensed copy of "Modular And Integrated 
  5167.       Design" to be installed. 
  5168.  
  5169.        Contents. 
  5170.        Section 12 Internet Functions. 
  5171.  
  5172.  
  5173. ΓòÉΓòÉΓòÉ 195. getnameofhost ΓòÉΓòÉΓòÉ
  5174.  
  5175.  getnameofhost 
  5176.  
  5177.  
  5178.        Get name of host (available on windows only). 
  5179.  
  5180.        hostname=getnameofhost() 
  5181.  
  5182.        No Arguments 
  5183.  
  5184.        Returns 
  5185.        hostname - name of the host. 
  5186.  
  5187.        This function requires a licensed copy of "Modular And Integrated 
  5188.       Design" to be installed. 
  5189.  
  5190.        Contents. 
  5191.        Section 12 Internet Functions. 
  5192.  
  5193.  
  5194. ΓòÉΓòÉΓòÉ 196. gethostipaddress ΓòÉΓòÉΓòÉ
  5195.  
  5196.  gethostipaddress 
  5197.  
  5198.  
  5199.        Get IP address of host (available on windows only). 
  5200.  
  5201.        IPaddress=gethostipaddress() 
  5202.  
  5203.        No Arguments 
  5204.  
  5205.        Returns 
  5206.        IPAddress - IP address of the host. 
  5207.  
  5208.        This function requires a licensed copy of "Modular And Integrated 
  5209.       Design" to be installed. 
  5210.  
  5211.        Contents. 
  5212.        Section 12 Internet Functions. 
  5213.  
  5214.  
  5215. ΓòÉΓòÉΓòÉ 197. geturlipaddress ΓòÉΓòÉΓòÉ
  5216.  
  5217.  geturlipaddress 
  5218.  
  5219.  
  5220.        Get IP address from url (available on windows only). 
  5221.  
  5222.        IPaddress=gethostipaddress(URL) 
  5223.  
  5224.        URL  - URL to query. 
  5225.  
  5226.        Returns 
  5227.        IPAddress - IP address of the URL. 
  5228.  
  5229.        This function requires a licensed copy of "Modular And Integrated 
  5230.       Design" to be installed. 
  5231.  
  5232.        Contents. 
  5233.        Section 12 Internet Functions. 
  5234.  
  5235.  
  5236. ΓòÉΓòÉΓòÉ 198. geturlstructure ΓòÉΓòÉΓòÉ
  5237.  
  5238.  geturlstructure 
  5239.  
  5240.  
  5241.        Get an internet url page and the pages referenced beneath it (available 
  5242.       on windows only). 
  5243.  
  5244.        f=geturlstructure(Filename,URL[,ParameterString[,Options[,Action]]]) 
  5245.  
  5246.        Filename  - name of file in which to place the result - must NOT be NULL 
  5247.       "" - FileName used returned in RESULT.FILENAME. A fully qualified path 
  5248.       name can be given in which case the path will be created if it does not 
  5249.       already exist and all pages will be downloaded relative to this path. 
  5250.        If ParameterString is not defined or NULL "" this name would typically 
  5251.       be index.html. 
  5252.        URL  - URL to get 
  5253.        ParameterString  - optional parameter string to specify the type of data 
  5254.       returned. This is typically can be a filename under the URL. It can also 
  5255.       be NULL "". 
  5256.        Options  - optional list of options to control which files (referenced 
  5257.       in the original files or subsequent downloaded files) are downloaded. 
  5258.        "TIMEOUT numseconds" - timeout where numseconds is the timeout in 
  5259.       seconds - default 60 seconds 
  5260.        "RUNBACKGROUND" - return immediately and run download in the background. 
  5261.       If specified an Action is performed when the background download is 
  5262.       completed. If Action is not specified, a Beep is sounded. 
  5263.        "ALLFILES" - downloads all files regardless of the last-modified date 
  5264.       stamp. Cannot be used with UPDATEONLY. 
  5265.        "UPDATEONLY" - only downloads files with a last-modified date stamp 
  5266.       newer than a previous download. Cannot be used with ALLFILES. Default 
  5267.       setting. 
  5268.        If neither ALLFILES nor UPDATEONLY is specified, UPDATEONLY is the 
  5269.       default. 
  5270.        "INCLUDEFILES string1 string2 ... stringN" - only download files whose 
  5271.       names contain the strings string1, string2, up to stringN (seperated by 
  5272.       spaces). Cannot be used with EXCLUDEFILES. 
  5273.        "EXCLUDEFILES string1 string2 ... stringN" - download all files excepy 
  5274.       for files whose names contain the strings string1, string2, up to 
  5275.       stringN. Cannot be used with INCLUDEFILES. 
  5276.        eg "EXCLUDEFILES .zip" download all files except .zip files 
  5277.           "INCLUDEFILES .htm .gif .jpg" only download .htm .gif and .jpg files 
  5278.           "UPDATEONLY" only download files that have been updated since the 
  5279.       last download 
  5280.           "UPDATEONLY EXCLUDEFILES .zip" download all files except .zip files 
  5281.       that have been updated since the last download 
  5282.           "UPDATEONLY INCLUDEFILES .htm .gif .jpg" only download .htm .gif and 
  5283.       .jpg files that have been updated since the last download 
  5284.           "RUNBACKGROUND UPDATEONLY INCLUDEFILES .htm .gif .jpg" only download 
  5285.       .htm .gif and .jpg files that have been updated since the last download - 
  5286.       run in the background. 
  5287.  
  5288.        Action -  optional action to perforn when the RUNBACKGROUND task is 
  5289.       completed - can be 1) a Maid File or 2) a RexxScript file with arguments 
  5290.       or 3) Text containing REXX commands. "RUNBACKGROUND" must be specified in 
  5291.       the options. 
  5292.  
  5293.        Maid File - the name or a Maid dialog to run 
  5294.        eg 
  5295.       f=geturlstructure("C:\MySite\index.html","http://www.site.com","","TIMEOUT 
  5296.       30 RUNBACKGROUND INCLUDEFILES .htm","C:\MAID\EXAMPLES\EX01.MDE") 
  5297.  
  5298.        RexxScript with arguments - 
  5299.       RexxScript[,Argument0][,Argument1]...[,ArgumentN] 
  5300.        RexxScript - file name of Rexx script to run 
  5301.        Argument0 - optional argument 0 
  5302.        Argument1 - optional argument 1 
  5303.        ArgumentN - optional argument N 
  5304.        eg 
  5305.       f=geturlstructure("C:\MySite\index.html","http://www.site.com","","RUNBACKGROUND 
  5306.       INCLUDEFILES .htm","C:\MAID\EXAMPLES\TRYME.REX") 
  5307.  
  5308.        Text containing REXX commands 
  5309.        eg 
  5310.       f=geturlstructure("C:\MySite\index.html","http://www.site.com","","RUNBACKGROUND 
  5311.       INCLUDEFILES .htm",'f=MaidStartDialog("C:\MAID\EXAMPLES\EX01.MDE")') 
  5312.  
  5313.        This function returns immediately and runs in background waiting for 
  5314.       the download to complete and then runs the specified script. 
  5315.  
  5316.        If the ParameterString is not specified, this function extracts the 
  5317.       source code of the URL from the internet and places it in the file , else 
  5318.       it returns the type of data requested by the ParameterString. 
  5319.        Any directory paths that do not exist in the filename are created 
  5320.       automatically. 
  5321.  
  5322.        An internet connection must be established prior to this call. 
  5323.        Returns 
  5324.        RESULT.FILEDATA - text strings describing file data 
  5325.        RESULT.FILENAME - name of the file 
  5326.  
  5327.        This function requires a licensed copy of "Modular And Integrated 
  5328.       Design" to be installed. 
  5329.  
  5330.        Contents. 
  5331.        Section 12 Internet Functions. 
  5332.  
  5333.  
  5334. ΓòÉΓòÉΓòÉ 199. Section 13 Graphic Functions ΓòÉΓòÉΓòÉ
  5335.  
  5336.  Section 13 - Graphic Functions 
  5337.  
  5338.  
  5339.        opengraphicwindow*   Create a graphic window. 
  5340.        closegraphicwindow*   Close a graphic window. 
  5341.        drawwinline*   Draw a line between two points. 
  5342.        drawwinbox*   Draw a box around a point a given distance from the point. 
  5343.        anglearc*   Draws a straight line and an arc. 
  5344.        arc*   Draws an elliptical arc. 
  5345.        arcto*   Draws an elliptical arc and the current position is updated. 
  5346.        getarcdirection*   Returns the current arc direction - arc and rectangle 
  5347.       functions use the arc direction. 
  5348.        setarcdirection*   Sets the drawing direction to be used for arc and 
  5349.       rectangle functions. 
  5350.        lineto*   Draws a line from the current position up to, but not 
  5351.       including, the specified point. 
  5352.        moveto*   Updates the current position to the specified point and 
  5353.       optionally returns the previous position. 
  5354.        polybezier*   Draws one or more B╨Æzier curves. 
  5355.        polybezierto*   Draws one or more B╨Æzier curves and moves the current 
  5356.       position to the ending point of the last B╨Æzier curve. 
  5357.        polydraw*   Draws a set of lines and B╨Æzier curves. 
  5358.        polyline*   Draws a series of lines by connecting the points specified. 
  5359.        polylineto*   Draws one or more lines and moves the current position to 
  5360.       the ending point of the last line. 
  5361.        polypolyline*   Draws multiple series of connected lines. 
  5362.        polygon*   Draws a polygon consisting of two or more points connected by 
  5363.       straight lines. 
  5364.        polypolygon*   Draws a series of closed polygons. The polygons drawn by 
  5365.       this function can overlap. 
  5366.        chord*   Draws a chord (a region bounded by the intersection of an 
  5367.       ellipse and a line segment, called a "secant"). 
  5368.        ellipse*   Draws an ellipse. The center of the ellipse is the center of 
  5369.       the rectangle. 
  5370.        pie*   Draws a pie-shaped wedge bounded by the intersection of an 
  5371.       ellipse and two radials. 
  5372.        rectangle*   Draws a rectangle. 
  5373.        fillrect*   Fills a rectangle with the specified color. 
  5374.        framerect*   Draws a border (1 unit thick) around the specified 
  5375.       rectangle with the specified color. 
  5376.        invertrect*   Inverts the color in the area within the specified 
  5377.       rectangle. 
  5378.        roundrect*   Draws a rectangle with rounded corners. 
  5379.        textout*   Writes a character string at the specified location, using 
  5380.       the currently selected font. 
  5381.        drawtext*   Draws formatted text in the rectangle. 
  5382.        gettextextent*   Computes the width and height of the specified string 
  5383.       of text. 
  5384.        settextcolor*   Sets the text color. 
  5385.        gettextcolor*   Gets the text color. 
  5386.        listfonts*   List available fonts. 
  5387.        settextfont*   Sets the text font. 
  5388.        gettextfont*   Gets the text font. 
  5389.        setpen*   Sets a pen that has the specified style, width, and color. 
  5390.        setbrush*   Sets a brush that has the specified color. 
  5391.        setbackgroundcolor*   Sets the current background color to the specified 
  5392.       color. 
  5393.        setbackgroundmode*   Sets the background mix mode. 
  5394.        setneworigin*   Sets the new relative window position of the x,y origin 
  5395.       (0,0). 
  5396.        getbitmapsize*   Gets the dimensions of a bitmap file. 
  5397.        exportbitmap*   Exports the rectangle as a bitmap file. 
  5398.        importbitmap*   Imports a bitmap file into a rectangle. 
  5399.        getnumberoficons*   Gets number of icons in a file. 
  5400.        exporticon*   Exports the rectangle as an icon file. 
  5401.        importicon*   Imports an icon file into a rectangle. 
  5402.        copyrectangle*   Copies a rectangle to the clipboard as a bitmap. 
  5403.        pasterectangle*   Pastes a bitmap from the clipboard into the specified 
  5404.       rectangle. 
  5405.        getcurrentpos*   Gets the current position. 
  5406.        getscrollpos*   Gets the current position of the scroll bars. 
  5407.        getscrollrange*   Gets the current range of the scrollbars. 
  5408.        setscrollpos*   Sets the current scrollbar positions. 
  5409.        updatedisplayon*   Sets graphic display on to reflect all drawing in 
  5410.       real time. 
  5411.        updatedisplayoff*   Sets graphic display off to freeze the display and 
  5412.       draw in memory. 
  5413.  
  5414.        Contents. 
  5415.  
  5416.  
  5417. ΓòÉΓòÉΓòÉ 200. opengraphicwindow ΓòÉΓòÉΓòÉ
  5418.  
  5419.  opengraphicwindow 
  5420.  
  5421.  
  5422.        Create a graphic window (available on windows only). 
  5423.  
  5424.        hwnd=opengraphicwindow(title,stemvariable[,red,green,blue]) 
  5425.  
  5426.        title  - window title 
  5427.        stemvariable  - name Stem Variable to get placement information 
  5428.        Window position. 
  5429.        stemvariable.X - position of top left corner 
  5430.        stemvariable.Y - position of top left corner 
  5431.        stemvariable.CX - width of client area (graphic drawing area) 
  5432.        stemvariable.CY - height of client area (graphic drawing area) 
  5433.        stemvariable.SHOW - "MAXIMIZED" or "MINIMIZED" or "NORMAL" or "HIDDEN" 
  5434.        red  - optional background color - amount of red from 0 to 255 
  5435.        green  - optional background color - amount of green from 0 to 255 
  5436.        blue  - optional background color - amount of blue from 0 to 255 
  5437.  
  5438.        Returns 
  5439.        hwnd - window handle of newly created graphic window. 
  5440.        Default origin is set at position x=0 y=stemvariable.Y ie bottom left 
  5441.       corner of the window 
  5442.        If background color is given then red,green and blue must be specified. 
  5443.  
  5444.        This function requires a licensed copy of "Modular And Integrated 
  5445.       Design" to be installed. 
  5446.  
  5447.        Contents. 
  5448.        Section 13 Graphic Functions. 
  5449.  
  5450.  
  5451. ΓòÉΓòÉΓòÉ 201. closegraphicwindow ΓòÉΓòÉΓòÉ
  5452.  
  5453.  closegraphicwindow 
  5454.  
  5455.  
  5456.        Close a graphic window (available on windows only). 
  5457.  
  5458.        f=closegraphicwindow(hwnd) 
  5459.  
  5460.        hwnd  - handle of window to close (returned with opengraphicwindow). 
  5461.  
  5462.        This function requires a licensed copy of "Modular And Integrated 
  5463.       Design" to be installed. 
  5464.  
  5465.        Contents. 
  5466.        Section 13 Graphic Functions. 
  5467.  
  5468.  
  5469. ΓòÉΓòÉΓòÉ 202. drawwinline ΓòÉΓòÉΓòÉ
  5470.  
  5471.  drawwinline 
  5472.  
  5473.  
  5474.        Draw a line between two points (available on windows only) . 
  5475.  
  5476.        f=drawwinline(hwnd,x1,y1,x2,y2) 
  5477.  
  5478.        hwnd  - handle of window (returned with opengraphicwindow) 
  5479.        x1  - x coordinate of first point 
  5480.        y1  - x coordinate of first point 
  5481.        x2  - x coordinate of second point 
  5482.        y2  - x coordinate of second point 
  5483.  
  5484.        The current position is updated to the end of the line (second point). 
  5485.  
  5486.        This function requires a licensed copy of "Modular And Integrated 
  5487.       Design" to be installed. 
  5488.  
  5489.        Contents. 
  5490.        Section 13 Graphic Functions. 
  5491.  
  5492.  
  5493. ΓòÉΓòÉΓòÉ 203. drawwinbox ΓòÉΓòÉΓòÉ
  5494.  
  5495.  drawwinbox 
  5496.  
  5497.  
  5498.        Draw a box around a point a given distance from the point (available on 
  5499.       windows only) . 
  5500.  
  5501.        f=drawwinbox(hwnd,x1,y1,dist) 
  5502.  
  5503.        hwnd  - handle of window (returned with opengraphicwindow) 
  5504.        x1  - x coordinate of point 
  5505.        y1  - x coordinate of point 
  5506.        dist  - distance of the edges of the box from the point - minimun 1 
  5507.       pixel 
  5508.  
  5509.        The current position is updated to be the given point. 
  5510.  
  5511.        This function requires a licensed copy of "Modular And Integrated 
  5512.       Design" to be installed. 
  5513.  
  5514.        Contents. 
  5515.        Section 13 Graphic Functions. 
  5516.  
  5517.  
  5518. ΓòÉΓòÉΓòÉ 204. anglearc ΓòÉΓòÉΓòÉ
  5519.  
  5520.  anglearc 
  5521.  
  5522.  
  5523.        Draws a straight line and an arc (available on windows NT only) . 
  5524.  
  5525.        f=anglearc(hwnd,x,y,radius,startangle,sweepangle) 
  5526.  
  5527.        hwnd  - handle of window (returned with opengraphicwindow) 
  5528.        x  - x coordinate of the center of the circle 
  5529.        y  - x coordinate of the center of the circle 
  5530.        radius  - specifies the radius. This value must be positive 
  5531.        startangle  - specifies the start angle, in degrees, relative to the 
  5532.       x-axis 
  5533.        sweepangle  - specifies the sweep angle, in degrees, relative to the 
  5534.       starting angle 
  5535.  
  5536.        The straight line is drawn from the current position to the beginning of 
  5537.       the arc. The arc is drawn along the perimeter of a circle of specified 
  5538.       radius with center at x,y. The start and sweep angles define the length 
  5539.       of the arc. 
  5540.  
  5541.        This function requires a licensed copy of "Modular And Integrated 
  5542.       Design" to be installed. 
  5543.  
  5544.        Contents. 
  5545.        Section 13 Graphic Functions. 
  5546.  
  5547.  
  5548. ΓòÉΓòÉΓòÉ 205. arc ΓòÉΓòÉΓòÉ
  5549.  
  5550.  arc 
  5551.  
  5552.  
  5553.        Draws an elliptical arc (available on windows only) . 
  5554.  
  5555.        f=arc(hwnd,stemrect,xstartarc,ystartarc,xendarc,yendarc) 
  5556.  
  5557.        hwnd  - handle of window (returned with opengraphicwindow) 
  5558.        stemrect  - stemname of stem containing the rectangle 
  5559.       position/dimensions 
  5560.        stemrect.X - x coordinate of rectangle 
  5561.        stemrect.Y - y coordinate of rectangle 
  5562.        stemrect.CX - width of rectangle 
  5563.        stemrect.CY - height of rectangle 
  5564.        xstartarc  - x coordinate of the ending point of the radial line 
  5565.       defining the starting point of the arc 
  5566.        ystartarc  - y coordinate of the ending point of the radial line 
  5567.       defining the starting point of the arc 
  5568.        xendarc  - x coordinate of the ending point of the radial line defining 
  5569.       the ending point of the arc 
  5570.        yendarc  - y coordinate of the ending point of the radial line defining 
  5571.       the ending point of the arc 
  5572.  
  5573.        Stemrect specifies the bounding rectangle. An ellipse formed by the 
  5574.       rectangle defines the curve of the arc. The arc extends in the current 
  5575.       drawing direction from the point where it intersects the radial from the 
  5576.       center of the rectangle to the point xstartarc, ystartarc. The arc ends 
  5577.       where it intersects the radial from the center of the rectangle to the 
  5578.       point xendarc, yendarc. A complete ellipse is drawn if the starting point 
  5579.       and ending point are equal. 
  5580.  
  5581.        The arc is drawn using the current pen and it is not filled and The 
  5582.       current position is not used or updated. 
  5583.  
  5584.        This function requires a licensed copy of "Modular And Integrated 
  5585.       Design" to be installed. 
  5586.  
  5587.        Contents. 
  5588.        Section 13 Graphic Functions. 
  5589.  
  5590.  
  5591. ΓòÉΓòÉΓòÉ 206. arcto ΓòÉΓòÉΓòÉ
  5592.  
  5593.  arcto 
  5594.  
  5595.  
  5596.        Draws an elliptical arc and the current position is updated (available 
  5597.       on windows NT only) . 
  5598.  
  5599.        f=arcto(hwnd,stemrect,xstartarc,ystartarc,xendarc,yendarc) 
  5600.  
  5601.        hwnd  - handle of window (returned with opengraphicwindow) 
  5602.        stemrect  - stemname of stem containing the rectangle 
  5603.       position/dimensions 
  5604.        stemrect.X - x coordinate of rectangle 
  5605.        stemrect.Y - y coordinate of rectangle 
  5606.        stemrect.CX - width of rectangle 
  5607.        stemrect.CY - height of rectangle 
  5608.        xstartarc  - x coordinate of the ending point of the radial line 
  5609.       defining the starting point of the arc 
  5610.        ystartarc  - y coordinate of the ending point of the radial line 
  5611.       defining the starting point of the arc 
  5612.        xendarc  - x coordinate of the ending point of the radial line defining 
  5613.       the ending point of the arc 
  5614.        yendarc  - y coordinate of the ending point of the radial line defining 
  5615.       the ending point of the arc 
  5616.  
  5617.        Stemrect specifies the bounding rectangle. An ellipse formed by the 
  5618.       rectangle defines the curve of the arc. The arc extends in the current 
  5619.       drawing direction from the point where it intersects the radial from the 
  5620.       center of the rectangle to the point xstartarc, ystartarc. The arc ends 
  5621.       where it intersects the radial from the center of the rectangle to the 
  5622.       point xendarc, yendarc. A complete ellipse is drawn if the starting point 
  5623.       and ending point are equal. 
  5624.  
  5625.        The arc is drawn using the current pen and it is not filled and the 
  5626.       current position is updated. 
  5627.  
  5628.        This function requires a licensed copy of "Modular And Integrated 
  5629.       Design" to be installed. 
  5630.  
  5631.        Contents. 
  5632.        Section 13 Graphic Functions. 
  5633.  
  5634.  
  5635. ΓòÉΓòÉΓòÉ 207. getarcdirection ΓòÉΓòÉΓòÉ
  5636.  
  5637.  getarcdirection 
  5638.  
  5639.  
  5640.        Returns the current arc direction - arc and rectangle functions use the 
  5641.       arc direction (available on windows only) . 
  5642.  
  5643.        arcdirection=getarcdirection(hwnd) 
  5644.  
  5645.        hwnd  - handle of window (returned with opengraphicwindow) 
  5646.  
  5647.        Returns 
  5648.        arcdirection - 
  5649.        "COUNTERCLOCKWISE" - Arcs and rectangles are drawn counterclockwise. 
  5650.        "CLOCKWISE" - Arcs and rectangles are drawn clockwise.window handle of 
  5651.       newly created graphic window. 
  5652.  
  5653.        This function requires a licensed copy of "Modular And Integrated 
  5654.       Design" to be installed. 
  5655.  
  5656.        Contents. 
  5657.        Section 13 Graphic Functions. 
  5658.  
  5659.  
  5660. ΓòÉΓòÉΓòÉ 208. setarcdirection ΓòÉΓòÉΓòÉ
  5661.  
  5662.  setarcdirection 
  5663.  
  5664.  
  5665.        Sets the drawing direction to be used for arc and rectangle functions 
  5666.       (available on windows NT only) . 
  5667.  
  5668.        f=setarcdirection(hwnd,arcdirection) 
  5669.  
  5670.        hwnd  - handle of window (returned with opengraphicwindow) 
  5671.        arcdirection  - "COUNTERCLOCKWISE" - Arcs and rectangles are drawn 
  5672.       counterclockwise."CLOCKWISE" - Arcs and rectangles are drawn clockwise 
  5673.  
  5674.        This function requires a licensed copy of "Modular And Integrated 
  5675.       Design" to be installed. 
  5676.  
  5677.        Contents. 
  5678.        Section 13 Graphic Functions. 
  5679.  
  5680.  
  5681. ΓòÉΓòÉΓòÉ 209. lineto ΓòÉΓòÉΓòÉ
  5682.  
  5683.  lineto 
  5684.  
  5685.  
  5686.        Draws a line from the current position up to, but not including, the 
  5687.       specified point (available on windows only) . 
  5688.  
  5689.        f=lineto(hwnd,x,y) 
  5690.  
  5691.        hwnd  - handle of window (returned with opengraphicwindow) 
  5692.        x  - x coordinate of the line's end point 
  5693.        y  - y coordinate of the line's end point 
  5694.  
  5695.        This function requires a licensed copy of "Modular And Integrated 
  5696.       Design" to be installed. 
  5697.  
  5698.        Contents. 
  5699.        Section 13 Graphic Functions. 
  5700.  
  5701.  
  5702. ΓòÉΓòÉΓòÉ 210. moveto ΓòÉΓòÉΓòÉ
  5703.  
  5704.  moveto 
  5705.  
  5706.  
  5707.        Updates the current position to the specified point and optionally 
  5708.       returns the previous position (available on windows only) . 
  5709.  
  5710.        f=moveto(hwnd,x,y[,stemoldcurrentpos]) 
  5711.  
  5712.        hwnd  - handle of window (returned with opengraphicwindow) 
  5713.        x  - x coordinate of the new position 
  5714.        y  - y coordinate of the new position 
  5715.        stemoldcurrentpos  - optinal stemname of stem to contain the previour 
  5716.       current position 
  5717.        stemoldcurrentpos.X - old x coordinate 
  5718.        stemoldcurrentpos.Y - old y coordinate 
  5719.  
  5720.        This function requires a licensed copy of "Modular And Integrated 
  5721.       Design" to be installed. 
  5722.  
  5723.        Contents. 
  5724.        Section 13 Graphic Functions. 
  5725.  
  5726.  
  5727. ΓòÉΓòÉΓòÉ 211. polybezier ΓòÉΓòÉΓòÉ
  5728.  
  5729.  polybezier 
  5730.  
  5731.  
  5732.        Draws one or more B╨Æzier curves (available on windows only) . 
  5733.  
  5734.        f=polybezier(hwnd,stempoints) 
  5735.  
  5736.        hwnd  - handle of window (returned with opengraphicwindow) 
  5737.        stempoints  - stemname of stem containing points 
  5738.        stempoints.0 - number of points 
  5739.        stempoints.1.X - x coordinate of point 1 
  5740.        stempoints.1.Y - y coordinate of point 1 
  5741.        ... 
  5742.        stempoints.2.X - x coordinate of point 2 
  5743.        stempoints.2.Y - y coordinate of point 2 
  5744.        stempoints.n.X - x coordinate of point n 
  5745.        stempoints.n.Y - y coordinate of point n 
  5746.  
  5747.        Draws cubic B╨Æzier curves by using the endpoints and control points in 
  5748.       stempoints. The first curve is drawn from the first point to the fourth 
  5749.       point using the second and third points as control points. Subsequent 
  5750.       curves in the sequence need three more points - the ending point of the 
  5751.       previous curve is the starting point, the next two points are control 
  5752.       points, and the third is the ending point. 
  5753.  
  5754.        The number of points (stempoints.0) must be three times the number of 
  5755.       curves to be drawn plus one (an additional starting point). 
  5756.  
  5757.        The figure is not filled. The current pen is used to draws lines. The 
  5758.       current position is not used or updated. 
  5759.  
  5760.        This function requires a licensed copy of "Modular And Integrated 
  5761.       Design" to be installed. 
  5762.  
  5763.        Contents. 
  5764.        Section 13 Graphic Functions. 
  5765.  
  5766.  
  5767. ΓòÉΓòÉΓòÉ 212. polybezierto ΓòÉΓòÉΓòÉ
  5768.  
  5769.  polybezierto 
  5770.  
  5771.  
  5772.        Draws one or more B╨Æzier curves and moves the current position to the 
  5773.       ending point of the last B╨Æzier curve (available on windows only) . 
  5774.  
  5775.        f=polybezierto(hwnd,stempoints) 
  5776.  
  5777.        hwnd  - handle of window (returned with opengraphicwindow) 
  5778.        stempoints  - stemname of stem containing points 
  5779.        stempoints.0 - number of points 
  5780.        stempoints.1.X - x coordinate of point 1 
  5781.        stempoints.1.Y - y coordinate of point 1 
  5782.        ... 
  5783.        stempoints.2.X - x coordinate of point 2 
  5784.        stempoints.2.Y - y coordinate of point 2 
  5785.        stempoints.n.X - x coordinate of point n 
  5786.        stempoints.n.Y - y coordinate of point n 
  5787.  
  5788.        Draws cubic B╨Æzier curves by using the endpoints and control points in 
  5789.       stempoints. The first curve is drawn from the first point to the fourth 
  5790.       point using the second and third points as control points. Subsequent 
  5791.       curves in the sequence need three more points - the ending point of the 
  5792.       previous curve is the starting point, the next two points are control 
  5793.       points, and the third is the ending point. 
  5794.  
  5795.        The number of points (stempoints.0) must be three times the number of 
  5796.       curves to be drawn. 
  5797.  
  5798.        The figure is not filled. The current pen is used to draws lines. The 
  5799.       current position is updated. 
  5800.  
  5801.        This function requires a licensed copy of "Modular And Integrated 
  5802.       Design" to be installed. 
  5803.  
  5804.        Contents. 
  5805.        Section 13 Graphic Functions. 
  5806.  
  5807.  
  5808. ΓòÉΓòÉΓòÉ 213. polydraw ΓòÉΓòÉΓòÉ
  5809.  
  5810.  polydraw 
  5811.  
  5812.  
  5813.        Draws a set of lines and B╨Æzier curves (available on windows NT only) . 
  5814.  
  5815.        f=polydraw(hwnd,stempoints) 
  5816.  
  5817.        hwnd  - handle of window (returned with opengraphicwindow) 
  5818.        stempoints  - stemname of stem containing points and types (line and 
  5819.       curve identifiers) 
  5820.        stempoints.0 - number of points 
  5821.        stempoints.1.X - x coordinate of point 1 
  5822.        stempoints.1.Y - y coordinate of point 1 
  5823.        stempoints.1.TYPE - type of point 1 
  5824.        ... 
  5825.        stempoints.2.X - x coordinate of point 2 
  5826.        stempoints.2.Y - y coordinate of point 2 
  5827.        stempoints.2.TYPE - type of point 2 
  5828.        stempoints.n.X - x coordinate of point n 
  5829.        stempoints.n.Y - y coordinate of point n 
  5830.        stempoints.n.TYPE - type of point n 
  5831.  
  5832.        A points type can be one of the following - 
  5833.  
  5834.        "MOVETO" - this point starts a disjoint figure and becomes the new 
  5835.       current position. 
  5836.  
  5837.        "LINETO" - a line is to be drawn from the current position to this 
  5838.       point, which then becomes the new current position. 
  5839.        "LINETOCLOSEFIGURE" - indicates that the corresponding point is the last 
  5840.       point in a figure and the figure is closed and the current position is 
  5841.       set to the ending point of the closing line. 
  5842.  
  5843.        "BEZIERTO" - this point is a control point or ending point for a B╨Æzier 
  5844.       curve. 
  5845.        These point types always occur in sets of three. The current position 
  5846.       defines the starting point for the curve. The first two points are the 
  5847.       control points with the third point the ending point( becomes the new 
  5848.       current position). There must be three consecutive points. 
  5849.        "BEZIERTOCLOSEFIGURE" - indicates that the corresponding point is the 
  5850.       last point in a figure and the figure is closed. The current position is 
  5851.       set to the ending point of the closing line. 
  5852.  
  5853.        This function requires a licensed copy of "Modular And Integrated 
  5854.       Design" to be installed. 
  5855.  
  5856.        Contents. 
  5857.        Section 13 Graphic Functions. 
  5858.  
  5859.  
  5860. ΓòÉΓòÉΓòÉ 214. polyline ΓòÉΓòÉΓòÉ
  5861.  
  5862.  polyline 
  5863.  
  5864.  
  5865.        Draws a series of lines by connecting the points specified (available on 
  5866.       windows only) . 
  5867.  
  5868.        f=polyline(hwnd,stempoints) 
  5869.  
  5870.        hwnd  - handle of window (returned with opengraphicwindow) 
  5871.        stempoints  - stemname of stem containing points 
  5872.        stempoints.0 - number of points 
  5873.        stempoints.1.x - x coordinate of point 1 
  5874.        stempoints.1.y - y coordinate of point 1 
  5875.        ... 
  5876.        stempoints.2.x - x coordinate of point 2 
  5877.        stempoints.2.y - y coordinate of point 2 
  5878.        stempoints.n.x - x coordinate of point n 
  5879.        stempoints.n.y - y coordinate of point n 
  5880.  
  5881.        Lines are drawn from the first point through subsequent points by using 
  5882.        the current pen. The current position is not used or updated. 
  5883.  
  5884.        This function requires a licensed copy of "Modular And Integrated 
  5885.       Design" to be installed. 
  5886.  
  5887.        Contents. 
  5888.        Section 13 Graphic Functions. 
  5889.  
  5890.  
  5891. ΓòÉΓòÉΓòÉ 215. polylineto ΓòÉΓòÉΓòÉ
  5892.  
  5893.  polylineto 
  5894.  
  5895.  
  5896.        Draws one or more lines and moves the current position to the ending 
  5897.       point of the last line (available on windows only) . 
  5898.  
  5899.        f=polylineto(hwnd,stempoints) 
  5900.  
  5901.        hwnd  - handle of window (returned with opengraphicwindow) 
  5902.        stempoints  - stemname of stem containing points 
  5903.        stempoints.0 - number of points 
  5904.        stempoints.1.x - x coordinate of point 1 
  5905.        stempoints.1.y - y coordinate of point 1 
  5906.        ... 
  5907.        stempoints.2.x - x coordinate of point 2 
  5908.        stempoints.2.y - y coordinate of point 2 
  5909.        stempoints.n.x - x coordinate of point n 
  5910.        stempoints.n.y - y coordinate of point n 
  5911.  
  5912.        Lines are drawn from the first point through subsequent points by using 
  5913.        the current pen. The current position is updated. 
  5914.  
  5915.        This function requires a licensed copy of "Modular And Integrated 
  5916.       Design" to be installed. 
  5917.  
  5918.        Contents. 
  5919.        Section 13 Graphic Functions. 
  5920.  
  5921.  
  5922. ΓòÉΓòÉΓòÉ 216. polypolyline ΓòÉΓòÉΓòÉ
  5923.  
  5924.  polypolyline 
  5925.  
  5926.  
  5927.        Draws multiple series of connected lines (available on windows only) . 
  5928.  
  5929.        f=polypolyline(hwnd,stempoly,stempoints) 
  5930.  
  5931.        hwnd  - handle of window (returned with opengraphicwindow) 
  5932.        stempoly  - stemname of stem containing an array specifying the number 
  5933.       of points in each section. Each entry must be greater than or equal to 
  5934.       two 
  5935.        stempoly.0 - number of line sections 
  5936.        stempoly.1 - number of points in section 1 
  5937.        stempoly.2 - number of points in section 2 
  5938.        ... 
  5939.        stempoly.n - number of points in section n 
  5940.        stempoints  - stemname of stem containing array of points that contains 
  5941.       the points of the line segments. The sections are specified consecutively 
  5942.        stempoints.1.x - x coordinate of point 1 
  5943.        stempoints.1.y - y coordinate of point 1 
  5944.        ... 
  5945.        stempoints.2.x - x coordinate of point 2 
  5946.        stempoints.2.y - y coordinate of point 2 
  5947.        stempoints.t.x - x coordinate of point t 
  5948.        stempoints.t.y - y coordinate of point t 
  5949.  
  5950.        Line segments are drawn by using the current pen. The figures formed by 
  5951.       the segments are not filled and The current position is not used or 
  5952.       updated. 
  5953.  
  5954.        This function requires a licensed copy of "Modular And Integrated 
  5955.       Design" to be installed. 
  5956.  
  5957.        Contents. 
  5958.        Section 13 Graphic Functions. 
  5959.  
  5960.  
  5961. ΓòÉΓòÉΓòÉ 217. polygon ΓòÉΓòÉΓòÉ
  5962.  
  5963.  polygon 
  5964.  
  5965.  
  5966.        Draws a polygon consisting of two or more points connected by straight 
  5967.       lines (available on windows only) . 
  5968.  
  5969.        f=polygon(hwnd,stempoints) 
  5970.  
  5971.        hwnd  - handle of window (returned with opengraphicwindow) 
  5972.        stempoints  - stemname of stem containing points 
  5973.        stempoints.0 - number of points 
  5974.        stempoints.1.x - x coordinate of point 1 
  5975.        stempoints.1.y - y coordinate of point 1 
  5976.        ... 
  5977.        stempoints.2.x - x coordinate of point 2 
  5978.        stempoints.2.y - y coordinate of point 2 
  5979.        stempoints.n.x - x coordinate of point n 
  5980.        stempoints.n.y - y coordinate of point n 
  5981.  
  5982.        The polygon is closed automatically by drawing a line from the last 
  5983.       point to the first and the current position is not used or updated. 
  5984.  
  5985.        This function requires a licensed copy of "Modular And Integrated 
  5986.       Design" to be installed. 
  5987.  
  5988.        Contents. 
  5989.        Section 13 Graphic Functions. 
  5990.  
  5991.  
  5992. ΓòÉΓòÉΓòÉ 218. polypolygon ΓòÉΓòÉΓòÉ
  5993.  
  5994.  polypolygon 
  5995.  
  5996.  
  5997.        Draws a series of closed polygons. The polygons drawn by this function 
  5998.       can overlap (available on windows only) . 
  5999.  
  6000.        f=polypolygon(hwnd,stempoly,stempoints) 
  6001.  
  6002.        hwnd  - handle of window (returned with opengraphicwindow) 
  6003.        stempoly  - stemname of stem containing an array specifying the number 
  6004.       of points in each polygon . Each entry must be greater than or equal to 
  6005.       two 
  6006.        stempoly.0 - number of polygons 
  6007.        stempoly.1 - number of points in polygon  1 
  6008.        stempoly.2 - number of points in polygon  2 
  6009.        ... 
  6010.        stempoly.n - number of points in polygon n 
  6011.        stempoints  - stemname of stem containing array of points that contains 
  6012.       the points of the polygons . The polygons  are specified consecutively 
  6013.        stempoints.1.x - x coordinate of point 1 
  6014.        stempoints.1.y - y coordinate of point 1 
  6015.        ... 
  6016.        stempoints.2.x - x coordinate of point 2 
  6017.        stempoints.2.y - y coordinate of point 2 
  6018.        stempoints.t.x - x coordinate of point t 
  6019.        stempoints.t.y - y coordinate of point t 
  6020.  
  6021.        The current position is not used or updated. 
  6022.  
  6023.        This function requires a licensed copy of "Modular And Integrated 
  6024.       Design" to be installed. 
  6025.  
  6026.        Contents. 
  6027.        Section 13 Graphic Functions. 
  6028.  
  6029.  
  6030. ΓòÉΓòÉΓòÉ 219. chord ΓòÉΓòÉΓòÉ
  6031.  
  6032.  chord 
  6033.  
  6034.  
  6035.        Draws a chord (a region bounded by the intersection of an ellipse and a 
  6036.       line segment, called a "secant") (available on windows only) . 
  6037.  
  6038.        f=chord(hwnd,stemrect,xradial1,yradial1,xradial2,yradial2) 
  6039.  
  6040.        hwnd  - handle of window (returned with opengraphicwindow) 
  6041.        stemrect  - stemname of stem containing the rectangle 
  6042.       position/dimensions 
  6043.        stemrect.X - x coordinate of rectangle 
  6044.        stemrect.Y - y coordinate of rectangle 
  6045.        stemrect.CX - width of rectangle 
  6046.        stemrect.CY - height of rectangle 
  6047.        xradial1  - x coordinate of the endpoint of the radial defining the 
  6048.       starting point of the chord 
  6049.        yradial1  - y coordinate of the endpoint of the radial defining the 
  6050.       starting point of the chord 
  6051.        xradial2  - x coordinate of the endpoint of the radial defining the 
  6052.       ending point of the chord 
  6053.        yradial2  - y coordinate of the endpoint of the radial defining the 
  6054.       ending point of the chord 
  6055.  
  6056.        The curve of the chord is defined by an ellipse that fits the rectangle. 
  6057.       The curve begins at the point where the ellipse intersects the first 
  6058.       radial and extends counterclockwise to the point where the ellipse 
  6059.       intersects the second radial. (A radial is a line drawn from the center 
  6060.       of the ellipse to a specified endpoint on the ellipse.) The chord is 
  6061.       closed by drawing a line from the intersection of the first radial and 
  6062.       the curve to the intersection of the second radial and the curve. 
  6063.  
  6064.        A complete ellipse is drawn if the starting point and ending point of 
  6065.       the curve are equal, . 
  6066.        The current position is not used or updated. 
  6067.  
  6068.        This function requires a licensed copy of "Modular And Integrated 
  6069.       Design" to be installed. 
  6070.  
  6071.        Contents. 
  6072.        Section 13 Graphic Functions. 
  6073.  
  6074.  
  6075. ΓòÉΓòÉΓòÉ 220. ellipse ΓòÉΓòÉΓòÉ
  6076.  
  6077.  ellipse 
  6078.  
  6079.  
  6080.        Draws an ellipse. The center of the ellipse is the center of the 
  6081.       rectangle (available on windows only) . 
  6082.  
  6083.        f=ellipse(hwnd,stemrect,) 
  6084.  
  6085.        hwnd  - handle of window (returned with opengraphicwindow) 
  6086.        stemrect  - stemname of stem containing the rectangle 
  6087.       position/dimensions 
  6088.        stemrect.X - x coordinate of rectangle 
  6089.        stemrect.Y - y coordinate of rectangle 
  6090.        stemrect.CX - width of rectangle 
  6091.        stemrect.CY - height of rectangle 
  6092.  
  6093.        The current position is not used or updated. 
  6094.  
  6095.        This function requires a licensed copy of "Modular And Integrated 
  6096.       Design" to be installed. 
  6097.  
  6098.        Contents. 
  6099.        Section 13 Graphic Functions. 
  6100.  
  6101.  
  6102. ΓòÉΓòÉΓòÉ 221. pie ΓòÉΓòÉΓòÉ
  6103.  
  6104.  pie 
  6105.  
  6106.  
  6107.        Draws a pie-shaped wedge bounded by the intersection of an ellipse and 
  6108.       two radials (available on windows only) . 
  6109.  
  6110.        f=pie(hwnd,stemrect,xradial1,yradial1,xradial2,yradial2) 
  6111.  
  6112.        hwnd  - handle of window (returned with opengraphicwindow) 
  6113.        stemrect  - stemname of stem containing the rectangle 
  6114.       position/dimensions 
  6115.        stemrect.X - x-coordinate of rectangle 
  6116.        stemrect.Y - y-coordinate of rectangle 
  6117.        stemrect.CX - width of rectangle 
  6118.        stemrect.CY - height of rectangle 
  6119.        xradial1  - x coordinate of the endpoint of the first radial 
  6120.        yradial1  - y coordinate of the endpoint of the first radial 
  6121.        xradial2  - x coordinate of the endpoint of the second radial 
  6122.        yradial2  - y coordinate of the endpoint of the second radial 
  6123.  
  6124.        The curve of the pie is defined by an ellipse that fits the rectangle. 
  6125.       The curve begins at the point where the ellipse intersects the first 
  6126.       radial and extends counterclockwise to the point where the ellipse 
  6127.       intersects the second radial. (A radial is a line drawn from the center 
  6128.       of the ellipse to the specified endpoint on the ellipse.) 
  6129.  
  6130.        The current position is not used or updated. 
  6131.  
  6132.        This function requires a licensed copy of "Modular And Integrated 
  6133.       Design" to be installed. 
  6134.  
  6135.        Contents. 
  6136.        Section 13 Graphic Functions. 
  6137.  
  6138.  
  6139. ΓòÉΓòÉΓòÉ 222. rectangle ΓòÉΓòÉΓòÉ
  6140.  
  6141.  rectangle 
  6142.  
  6143.  
  6144.        Draws a rectangle (available on windows only) . 
  6145.  
  6146.        f=rectangle(hwnd,stemrect) 
  6147.  
  6148.        hwnd  - handle of window (returned with opengraphicwindow) 
  6149.        stemrect  - stemname of stem containing the rectangle 
  6150.       position/dimensions 
  6151.        stemrect.X - x coordinate of rectangle 
  6152.        stemrect.Y - y coordinate of rectangle 
  6153.        stemrect.CX - width of rectangle 
  6154.        stemrect.CY - height of rectangle 
  6155.  
  6156.        The current position is not used or updated. 
  6157.  
  6158.        This function requires a licensed copy of "Modular And Integrated 
  6159.       Design" to be installed. 
  6160.  
  6161.        Contents. 
  6162.        Section 13 Graphic Functions. 
  6163.  
  6164.  
  6165. ΓòÉΓòÉΓòÉ 223. fillrect ΓòÉΓòÉΓòÉ
  6166.  
  6167.  fillrect 
  6168.  
  6169.  
  6170.        Fills a rectangle with the specified color (available on windows only) . 
  6171.  
  6172.        f=fillrect(hwnd,stemrect,red,green,blue) 
  6173.  
  6174.        hwnd  - handle of window (returned with opengraphicwindow) 
  6175.        stemrect  - stemname of stem containing the rectangle 
  6176.       position/dimensions 
  6177.        stemrect.X - x coordinate of rectangle 
  6178.        stemrect.Y - y coordinate of rectangle 
  6179.        stemrect.CX - width of rectangle 
  6180.        stemrect.CY - height of rectangle 
  6181.        red  - amount of red from 0 to 255 
  6182.        green  - amount of green from 0 to 255 
  6183.        blue  - amount of blue from 0 to 255 
  6184.  
  6185.        This function requires a licensed copy of "Modular And Integrated 
  6186.       Design" to be installed. 
  6187.  
  6188.        Contents. 
  6189.        Section 13 Graphic Functions. 
  6190.  
  6191.  
  6192. ΓòÉΓòÉΓòÉ 224. framerect ΓòÉΓòÉΓòÉ
  6193.  
  6194.  framerect 
  6195.  
  6196.  
  6197.        Draws a border (1 unit thick) around the specified rectangle with the 
  6198.       specified color (available on windows only) . 
  6199.  
  6200.        f=framerect(hwnd,stemrect,red,green,blue) 
  6201.  
  6202.        hwnd  - handle of window (returned with opengraphicwindow) 
  6203.        stemrect  - stemname of stem containing the rectangle 
  6204.       position/dimensions 
  6205.        stemrect.X - x coordinate of rectangle 
  6206.        stemrect.Y - y coordinate of rectangle 
  6207.        stemrect.CX - width of rectangle 
  6208.        stemrect.CY - height of rectangle 
  6209.        red  - amount of red from 0 to 255 
  6210.        green  - amount of green from 0 to 255 
  6211.        blue  - amount of blue from 0 to 255 
  6212.  
  6213.        This function requires a licensed copy of "Modular And Integrated 
  6214.       Design" to be installed. 
  6215.  
  6216.        Contents. 
  6217.        Section 13 Graphic Functions. 
  6218.  
  6219.  
  6220. ΓòÉΓòÉΓòÉ 225. invertrect ΓòÉΓòÉΓòÉ
  6221.  
  6222.  invertrect 
  6223.  
  6224.  
  6225.        Inverts the color in the area within the specified rectangle (available 
  6226.       on windows only) . 
  6227.  
  6228.        f=invertrect(hwnd,stemrect) 
  6229.  
  6230.        hwnd  - handle of window (returned with opengraphicwindow) 
  6231.        stemrect  - stemname of stem containing the rectangle 
  6232.       position/dimensions 
  6233.        stemrect.X - x coordinate of rectangle 
  6234.        stemrect.Y - y coordinate of rectangle 
  6235.        stemrect.CX - width of rectangle 
  6236.        stemrect.CY - height of rectangle 
  6237.  
  6238.        This function requires a licensed copy of "Modular And Integrated 
  6239.       Design" to be installed. 
  6240.  
  6241.        Contents. 
  6242.        Section 13 Graphic Functions. 
  6243.  
  6244.  
  6245. ΓòÉΓòÉΓòÉ 226. roundrect ΓòÉΓòÉΓòÉ
  6246.  
  6247.  roundrect 
  6248.  
  6249.  
  6250.        Draws a rectangle with rounded corners (available on windows only) . 
  6251.  
  6252.        f=roundrect(hwnd,stemrect,width,height) 
  6253.  
  6254.        hwnd  - handle of window (returned with opengraphicwindow) 
  6255.        stemrect  - stemname of stem containing the rectangle 
  6256.       position/dimensions 
  6257.        stemrect.X - x coordinate of rectangle 
  6258.        stemrect.Y - y coordinate of rectangle 
  6259.        stemrect.CX - width of rectangle 
  6260.        stemrect.CY - height of rectangle 
  6261.        width  - width of the ellipse used to draw the rounded corners 
  6262.        height  - height of the ellipse used to draw the rounded corners 
  6263.  
  6264.        This function requires a licensed copy of "Modular And Integrated 
  6265.       Design" to be installed. 
  6266.  
  6267.        Contents. 
  6268.        Section 13 Graphic Functions. 
  6269.  
  6270.  
  6271. ΓòÉΓòÉΓòÉ 227. textout ΓòÉΓòÉΓòÉ
  6272.  
  6273.  textout 
  6274.  
  6275.  
  6276.        Writes a character string at the specified location, using the currently 
  6277.       selected font (available on windows only) . 
  6278.  
  6279.        f=textout(hwnd,xstart,ystart,string) 
  6280.  
  6281.        hwnd  - handle of window (returned with opengraphicwindow) 
  6282.        xstart  - x coordinate of the reference point that Windows uses to align 
  6283.       the string 
  6284.        ystart  - y coordinate of the reference point that Windows uses to align 
  6285.       the string 
  6286.        string  - string containing text to write 
  6287.  
  6288.        This function requires a licensed copy of "Modular And Integrated 
  6289.       Design" to be installed. 
  6290.  
  6291.        Contents. 
  6292.        Section 13 Graphic Functions. 
  6293.  
  6294.  
  6295. ΓòÉΓòÉΓòÉ 228. drawtext ΓòÉΓòÉΓòÉ
  6296.  
  6297.  drawtext 
  6298.  
  6299.  
  6300.        Draws formatted text in the rectangle (available on windows only) . 
  6301.  
  6302.        textheight=drawtext(hwnd,string,stemrect,format) 
  6303.  
  6304.        hwnd  - handle of window (returned with opengraphicwindow) 
  6305.        string  - string containing text to draw 
  6306.        stemrect  - stemname of stem containing the rectangle in which the text 
  6307.       is to be formatted 
  6308.        stemrect.X - x coordinate of rectangle 
  6309.        stemrect.Y - y coordinate of rectangle 
  6310.        stemrect.CX - width of rectangle 
  6311.        stemrect.CY - height of rectangle 
  6312.        format  - how to format the string - can be a combination of the 
  6313.       following strings- 
  6314.  
  6315.        "BOTTOM" - bottom-justifies text. Must be combined with "SINGLELINE". 
  6316.        "CALCRECT" - determines the width and height of the rectangle. If there 
  6317.       are multiple lines of text, drawtext uses the width of the rectangle and 
  6318.       extends the base of the rectangle to bound the last line of text. If 
  6319.       there is only one line of text, drawtext modifies the right side of the 
  6320.       rectangle so that it bounds the last character in the line. Stemrect is 
  6321.       updated to fit the formatted text. The text is not drawn. 
  6322.        "CENTER" - centers text horizontally. 
  6323.        "EXTERNALLEADING" - includes the font external leading in line height. 
  6324.       Normally, external leading is not included in the height of a line of 
  6325.       text. 
  6326.        "LEFT" - aligns text to the left. 
  6327.        "NOCLIP" -draws without clipping. Improves function speed. 
  6328.        "NOPREFIX" - turns off processing of prefix characters. Normally, 
  6329.       drawtext interprets the mnemonic-prefix character & as a directive to 
  6330.       underscore the character that follows, and the mnemonic-prefix characters 
  6331.       && as a directive to print a single &. By specifying "NOPREFIX", this 
  6332.       processing is turned off. 
  6333.        "RIGHT" - aligns text to the right. 
  6334.        "SINGLELINE" - displays text on a single line only. Carriage returns and 
  6335.       linefeeds do not break the line. 
  6336.        "EXPANDTABS" - expands tab characters. The default number of characters 
  6337.       per tab is eight. The Tab character is represented by D2C(9). 
  6338.        "TABSTOP" - sets tab stops. The default number of characters per tab is 
  6339.       eight. If not default specify "TABSTOPn" where n is the number of 
  6340.       characters for each tab. 
  6341.        "TOP" - top-justifies text (single line only). 
  6342.        "VCENTER" - centers text vertically (single line only). 
  6343.        "WORDBREAK" - breaks words. Lines are automatically broken between words 
  6344.       if a word would extend past the edge of the rectangle. A carriage 
  6345.       return-linefeed sequence also breaks the line. 
  6346.  
  6347.        "CALCRECT", "EXTERNALLEADING", "INTERNAL", "NOCLIP", and "NOPREFIX" 
  6348.       strings cannot be used with the "TABSTOP" string. 
  6349.  
  6350.        Strings in the format must be separated by spaces. 
  6351.        eg 
  6352.        textheight=drawtext(hwnd,"bottom",stemrect,"BOTTOM CENTER SINGLELINE") 
  6353.  
  6354.        Returns 
  6355.        textheight - the height of the text 
  6356.  
  6357.        This function requires a licensed copy of "Modular And Integrated 
  6358.       Design" to be installed. 
  6359.  
  6360.        Contents. 
  6361.        Section 13 Graphic Functions. 
  6362.  
  6363.  
  6364. ΓòÉΓòÉΓòÉ 229. gettextextent ΓòÉΓòÉΓòÉ
  6365.  
  6366.  gettextextent 
  6367.  
  6368.  
  6369.        Computes the width and height of the specified string of text (available 
  6370.       on windows only) . 
  6371.  
  6372.        f=gettextextent(hwnd,string,stemextent) 
  6373.  
  6374.        hwnd  - handle of window (returned with opengraphicwindow) 
  6375.        string  - string to compute 
  6376.        stemextent  - stemname of stem containing the results of the extent of 
  6377.       the string 
  6378.        stemextent.CX - width of string 
  6379.        stemextent.CY - height of string 
  6380.  
  6381.        This function requires a licensed copy of "Modular And Integrated 
  6382.       Design" to be installed. 
  6383.  
  6384.        Contents. 
  6385.        Section 13 Graphic Functions. 
  6386.  
  6387.  
  6388. ΓòÉΓòÉΓòÉ 230. settextcolor ΓòÉΓòÉΓòÉ
  6389.  
  6390.  settextcolor 
  6391.  
  6392.  
  6393.        Sets the text color (available on windows only) . 
  6394.  
  6395.        f=settextcolor(hwnd,red,green,blue) 
  6396.  
  6397.        hwnd  - handle of window (returned with opengraphicwindow) 
  6398.        red  - amount of red from 0 to 255 
  6399.        green  - amount of green from 0 to 255 
  6400.        blue  - amount of blue from 0 to 255 
  6401.  
  6402.        Black is red 0 green 0 blue 0 
  6403.        White is red 255 green 255 blue 255 
  6404.  
  6405.        This function requires a licensed copy of "Modular And Integrated 
  6406.       Design" to be installed. 
  6407.  
  6408.        Contents. 
  6409.        Section 13 Graphic Functions. 
  6410.  
  6411.  
  6412. ΓòÉΓòÉΓòÉ 231. gettextcolor ΓòÉΓòÉΓòÉ
  6413.  
  6414.  gettextcolor 
  6415.  
  6416.  
  6417.        Gets the text color (available on windows only) . 
  6418.  
  6419.        f=gettextcolor(hwnd,stemcolor) 
  6420.  
  6421.        hwnd  - handle of window (returned with opengraphicwindow) 
  6422.        stemcolor  - stemname of stem containing the color results 
  6423.        stemcolor.RED - amount of red between 0 and 255 
  6424.        stemcolor.GREEN - amount of green between 0 and 255 
  6425.        stemcolor.BLUE - amount of blue between 0 and 255 
  6426.  
  6427.        This function requires a licensed copy of "Modular And Integrated 
  6428.       Design" to be installed. 
  6429.  
  6430.        Contents. 
  6431.        Section 13 Graphic Functions. 
  6432.  
  6433.  
  6434. ΓòÉΓòÉΓòÉ 232. listfonts ΓòÉΓòÉΓòÉ
  6435.  
  6436.  listfonts 
  6437.  
  6438.  
  6439.        List available fonts (available on windows only) . 
  6440.  
  6441.        f=listfonts(hwnd,stemfonts) 
  6442.  
  6443.        hwnd  - handle of window (returned with opengraphicwindow) 
  6444.        stemfonts  - stemname of stem containing the list of available fonts 
  6445.        stemfonts.0 - number of fonts listed 
  6446.        stemfonts.1 - description of font 1 
  6447.        stemfonts.2 - description of font 2 
  6448.        ... 
  6449.        stemfonts.n - description of font n 
  6450.  
  6451.        This function requires a licensed copy of "Modular And Integrated 
  6452.       Design" to be installed. 
  6453.  
  6454.        Contents. 
  6455.        Section 13 Graphic Functions. 
  6456.  
  6457.  
  6458. ΓòÉΓòÉΓòÉ 233. settextfont ΓòÉΓòÉΓòÉ
  6459.  
  6460.  settextfont 
  6461.  
  6462.  
  6463.        Sets the text font (available on windows only) . 
  6464.  
  6465.        f=settextfont(hwnd,stemfont) 
  6466.  
  6467.        hwnd  - handle of window (returned with opengraphicwindow) 
  6468.        stemfont  - stemname of stem containing the font information 
  6469.        stemfont.FACE - font desciption 
  6470.        stemfont.WEIGHT - font point size 
  6471.        can be "" (Normal) or ONE of 
  6472.        "THIN" "EXTRALIGHT" "LIGHT" "MEDIUM" "SEMIBOLD" 
  6473.        "BOLD" "EXTRABOLD" "HEAVY " 
  6474.        stemfont.STYLE - font style 
  6475.        can be "" (Normal)  or a combination of  "ITALIC" "UNDERSCORE" 
  6476.  "STRIKEOUT" 
  6477.        stemfont.SIZE - font point size 
  6478.        stemfont.FAMILY - font family 
  6479.        can be "" or ONE of 
  6480.              "MODERN" "ROMAN" "SCRIPT" "HELV" "DECORATIVE" 
  6481.        stemfont.CHARSET - font character set 
  6482.              can be "" (Western ANSI - Normal) or ONE of 
  6483.              "SYMBOL" "JAPANESE" "HANGEUL" "GB2312" "CHINESE" "OEM/DOS" "JOHAB" 
  6484.              "HEBREW" "ARABIC" "GREEK" "TURKISH" "THAI" "CENTRAL EUROPEAN" 
  6485.       "CYRILLIC" 
  6486.              "MAC" "BALTIC" 
  6487.  
  6488.        This function requires a licensed copy of "Modular And Integrated 
  6489.       Design" to be installed. 
  6490.  
  6491.        Contents. 
  6492.        Section 13 Graphic Functions. 
  6493.  
  6494.  
  6495. ΓòÉΓòÉΓòÉ 234. gettextfont ΓòÉΓòÉΓòÉ
  6496.  
  6497.  gettextfont 
  6498.  
  6499.  
  6500.        Gets the text font (available on windows only) . 
  6501.  
  6502.        f=gettextfont(hwnd,stemfont) 
  6503.  
  6504.        hwnd  - handle of window (returned with opengraphicwindow) 
  6505.        stemfont  - stemname of stem containing the font information 
  6506.        stemfont.FACE - font desciption 
  6507.        stemfont.WEIGHT - font point size 
  6508.        can be "" (Normal) or ONE of 
  6509.        "THIN" "EXTRALIGHT" "LIGHT" "MEDIUM" "SEMIBOLD" 
  6510.        "BOLD" "EXTRABOLD" "HEAVY " 
  6511.        stemfont.STYLE - font style 
  6512.        can be "" (Normal)  or a combination of  "ITALIC" "UNDERSCORE" 
  6513.  "STRIKEOUT" 
  6514.        stemfont.SIZE - font point size 
  6515.        stemfont.FAMILY - font family 
  6516.        can be "" or ONE of 
  6517.              "MODERN" "ROMAN" "SCRIPT" "HELV" "DECORATIVE" 
  6518.        stemfont.CHARSET - font character set 
  6519.              can be "" (Western ANSI - Normal) or ONE of 
  6520.              "SYMBOL" "JAPANESE" "HANGEUL" "GB2312" "CHINESE" "OEM/DOS" "JOHAB" 
  6521.              "HEBREW" "ARABIC" "GREEK" "TURKISH" "THAI" "CENTRAL EUROPEAN" 
  6522.       "CYRILLIC" 
  6523.              "MAC" "BALTIC" 
  6524.  
  6525.        This function requires a licensed copy of "Modular And Integrated 
  6526.       Design" to be installed. 
  6527.  
  6528.        Contents. 
  6529.        Section 13 Graphic Functions. 
  6530.  
  6531.  
  6532. ΓòÉΓòÉΓòÉ 235. setpen ΓòÉΓòÉΓòÉ
  6533.  
  6534.  setpen 
  6535.  
  6536.  
  6537.        Sets a pen that has the specified style, width, and color (available on 
  6538.       windows only) . 
  6539.  
  6540.        f=setpen(hwnd,style,width,red,green,blue) 
  6541.  
  6542.        hwnd  - handle of window (returned with opengraphicwindow) 
  6543.        style  - can be ONE of the following 
  6544.        "SOLID" Pen is solid. 
  6545.        "DASH" Pen is dashed. This style is valid only when the pen width is one 
  6546.       or less in device units. 
  6547.        "DOT " Pen is dotted. This style is valid only when the pen width is one 
  6548.       or less in device units. 
  6549.        "DASHDOT" Pen has alternating dashes and dots. This style is valid only 
  6550.       when the pen width is one or less in device units. 
  6551.        "DASHDOTDOT" Pen has alternating dashes and double dots. This style is 
  6552.       valid only when the pen width is one or less in device units. 
  6553.        "NULL" Pen is invisible. 
  6554.        width  - width of the pen 
  6555.        red  - amount of red from 0 to 255 
  6556.        green  - amount of green from 0 to 255 
  6557.        blue  - amount of blue from 0 to 255 
  6558.  
  6559.        This function requires a licensed copy of "Modular And Integrated 
  6560.       Design" to be installed. 
  6561.  
  6562.        Contents. 
  6563.        Section 13 Graphic Functions. 
  6564.  
  6565.  
  6566. ΓòÉΓòÉΓòÉ 236. setbrush ΓòÉΓòÉΓòÉ
  6567.  
  6568.  setbrush 
  6569.  
  6570.  
  6571.        Sets a brush that has the specified color (available on windows only) . 
  6572.  
  6573.        f=setbrush(hwnd,red,green,blue) 
  6574.  
  6575.        hwnd  - handle of window (returned with opengraphicwindow) 
  6576.        red  - amount of red from 0 to 255 
  6577.        green  - amount of green from 0 to 255 
  6578.        blue  - amount of blue from 0 to 255 
  6579.  
  6580.        This function requires a licensed copy of "Modular And Integrated 
  6581.       Design" to be installed. 
  6582.  
  6583.        Contents. 
  6584.        Section 13 Graphic Functions. 
  6585.  
  6586.  
  6587. ΓòÉΓòÉΓòÉ 237. setbackgroundcolor ΓòÉΓòÉΓòÉ
  6588.  
  6589.  setbackgroundcolor 
  6590.  
  6591.  
  6592.        Sets the current background color to the specified color (available on 
  6593.       windows only) . 
  6594.  
  6595.        f=setbackgroundcolor(hwnd,red,green,blue) 
  6596.  
  6597.        hwnd  - handle of window (returned with opengraphicwindow) 
  6598.        red  - amount of red from 0 to 255 
  6599.        green  - amount of green from 0 to 255 
  6600.        blue  - amount of blue from 0 to 255 
  6601.  
  6602.        This function requires a licensed copy of "Modular And Integrated 
  6603.       Design" to be installed. 
  6604.  
  6605.        Contents. 
  6606.        Section 13 Graphic Functions. 
  6607.  
  6608.  
  6609. ΓòÉΓòÉΓòÉ 238. setbackgroundmode ΓòÉΓòÉΓòÉ
  6610.  
  6611.  setbackgroundmode 
  6612.  
  6613.  
  6614.        Sets the background mix mode (available on windows only) . 
  6615.  
  6616.        f=setbackgroundmode(hwnd,mode) 
  6617.  
  6618.        hwnd  - handle of window (returned with opengraphicwindow) 
  6619.        mode  - can be ONE of the following 
  6620.        "OPAQUE" Background is filled with the current background color before 
  6621.       the text, hatched brush, or pen is drawn. 
  6622.        "TRANSPARENT" Background remains untouched. 
  6623.  
  6624.        This function requires a licensed copy of "Modular And Integrated 
  6625.       Design" to be installed. 
  6626.  
  6627.        Contents. 
  6628.        Section 13 Graphic Functions. 
  6629.  
  6630.  
  6631. ΓòÉΓòÉΓòÉ 239. setneworigin ΓòÉΓòÉΓòÉ
  6632.  
  6633.  setneworigin 
  6634.  
  6635.  
  6636.        Sets the new relative window position of the x,y origin (0,0) (available 
  6637.       on windows only) . 
  6638.  
  6639.        f=setneworigin(hwnd,x,y) 
  6640.  
  6641.        hwnd  - handle of window (returned with opengraphicwindow) 
  6642.        x  - x-coordinate of the new origin 
  6643.        y  - y-coordinate of the new origin 
  6644.  
  6645.        This function requires a licensed copy of "Modular And Integrated 
  6646.       Design" to be installed. 
  6647.  
  6648.        Contents. 
  6649.        Section 13 Graphic Functions. 
  6650.  
  6651.  
  6652. ΓòÉΓòÉΓòÉ 240. getbitmapsize ΓòÉΓòÉΓòÉ
  6653.  
  6654.  getbitmapsize 
  6655.  
  6656.  
  6657.        Gets the dimensions of a bitmap file (available on windows only) . 
  6658.  
  6659.        f=getbitmapsize(filename,stemsize) 
  6660.  
  6661.        filename  - file name of the bitmap 
  6662.        stemsize  - stemname of stem containing the size of the bitmap on return 
  6663.        stemsize.CX - width of bitmap 
  6664.        stemsize.CY - height of bitmap 
  6665.  
  6666.        This function requires a licensed copy of "Modular And Integrated 
  6667.       Design" to be installed. 
  6668.  
  6669.        Contents. 
  6670.        Section 13 Graphic Functions. 
  6671.  
  6672.  
  6673. ΓòÉΓòÉΓòÉ 241. exportbitmap ΓòÉΓòÉΓòÉ
  6674.  
  6675.  exportbitmap 
  6676.  
  6677.  
  6678.        Exports the rectangle as a bitmap file (available on windows only) . 
  6679.  
  6680.        f=exportbitmap(hwnd,stemrect,filename[,newwidth,newheight][,vga]) 
  6681.  
  6682.        hwnd  - handle of window (returned with opengraphicwindow) 
  6683.        stemrect  - stemname of stem containing the rectangle 
  6684.       position/dimensions 
  6685.        stemrect.X - x coordinate of rectangle 
  6686.        stemrect.Y - y coordinate of rectangle 
  6687.        stemrect.CX - width of rectangle 
  6688.        stemrect.CY - height of rectangle 
  6689.        filename  - file name that will contain the exported bitmap 
  6690.        newwidth  - optional - new width for the bitmap - default stemrect.CX - 
  6691.       width of rectangle 
  6692.        newheight  - optinal - new height for the bitmap - default stemrect.CY - 
  6693.       height of rectangle 
  6694.        vga  - optional - can only be "VGA" - if specified a 16 color bitmap is 
  6695.       produced 
  6696.  
  6697.        This function requires a licensed copy of "Modular And Integrated 
  6698.       Design" to be installed. 
  6699.  
  6700.        Contents. 
  6701.        Section 13 Graphic Functions. 
  6702.  
  6703.  
  6704. ΓòÉΓòÉΓòÉ 242. importbitmap ΓòÉΓòÉΓòÉ
  6705.  
  6706.  importbitmap 
  6707.  
  6708.  
  6709.        Imports a bitmap file into a rectangle (available on windows only) . 
  6710.  
  6711.        f=importbitmap(hwnd,stemrect,filename[,importtype]) 
  6712.  
  6713.        hwnd  - handle of window (returned with opengraphicwindow) 
  6714.        stemrect  - stemname of stem containing the rectangle 
  6715.       position/dimensions 
  6716.        stemrect.X - x coordinate of rectangle 
  6717.        stemrect.Y - y coordinate of rectangle 
  6718.        stemrect.CX - width of rectangle - if zero ( 0 ) defaults to the width 
  6719.       of the bitmap 
  6720.        stemrect.CY - height of rectangle - if zero ( 0 ) defaults to the height 
  6721.       of the bitmap 
  6722.        filename  - file name of the bitmap to import 
  6723.        importtype  - optional - can be "STRETCH" or "COPY" - default stretch 
  6724.  
  6725.        This function requires a licensed copy of "Modular And Integrated 
  6726.       Design" to be installed. 
  6727.  
  6728.        Contents. 
  6729.        Section 13 Graphic Functions. 
  6730.  
  6731.  
  6732. ΓòÉΓòÉΓòÉ 243. getnumberoficons ΓòÉΓòÉΓòÉ
  6733.  
  6734.  getnumberoficons 
  6735.  
  6736.  
  6737.        Gets number of icons in a file (available on windows only) . 
  6738.  
  6739.        noicons=getnumberoficons(filename) 
  6740.  
  6741.        filename  - file name that contains icons 
  6742.  
  6743.        This function requires a licensed copy of "Modular And Integrated 
  6744.       Design" to be installed. 
  6745.  
  6746.        Contents. 
  6747.        Section 13 Graphic Functions. 
  6748.  
  6749.  
  6750. ΓòÉΓòÉΓòÉ 244. exporticon ΓòÉΓòÉΓòÉ
  6751.  
  6752.  exporticon 
  6753.  
  6754.  
  6755.        Exports the rectangle as an icon file (available on windows only) . 
  6756.  
  6757.        f=exporticon(hwnd,stemrect,filename[,maskred,maskgreen,maskblue]) 
  6758.  
  6759.        hwnd  - handle of window (returned with opengraphicwindow) 
  6760.        stemrect  - stemname of stem containing the rectangle 
  6761.       position/dimensions 
  6762.        stemrect.X - x coordinate of rectangle 
  6763.        stemrect.Y - y coordinate of rectangle 
  6764.        stemrect.CX - width of rectangle 
  6765.        stemrect.CY - height of rectangle 
  6766.        filename  - file name that will contain the exported bitmap 
  6767.        maskred  - optional - amount of red from 0 to 255 
  6768.        maskgreen  - optional - amount of green from 0 to 255 
  6769.        maskblue  - optional - amount of blue from 0 to 255 
  6770.  
  6771.        If maskred,maskgreen,maskblue is specified the mask color is transparent 
  6772.       in the icon produced. 
  6773.  
  6774.        This function requires a licensed copy of "Modular And Integrated 
  6775.       Design" to be installed. 
  6776.  
  6777.        Contents. 
  6778.        Section 13 Graphic Functions. 
  6779.  
  6780.  
  6781. ΓòÉΓòÉΓòÉ 245. importicon ΓòÉΓòÉΓòÉ
  6782.  
  6783.  importicon 
  6784.  
  6785.  
  6786.        Imports an icon file into a rectangle (available on windows only) . 
  6787.  
  6788.        f=importicon(hwnd,stemrect,filename[,importtype][,iconindex]) 
  6789.  
  6790.        hwnd  - handle of window (returned with opengraphicwindow) 
  6791.        stemrect  - stemname of stem containing the rectangle 
  6792.       position/dimensions 
  6793.        stemrect.X - x coordinate of rectangle 
  6794.        stemrect.Y - y coordinate of rectangle 
  6795.        stemrect.CX - width of rectangle - if zero ( 0 ) defaults to the width 
  6796.       of the icon 
  6797.        stemrect.CY - height of rectangle - if zero ( 0 ) defaults to the height 
  6798.       of the icon 
  6799.        filename  - file name of the icon to import - can be an .ico, .exe or 
  6800.       .dll file 
  6801.        importtype  - optional - can be "STRETCH" or "COPY" - default stretch 
  6802.        iconindex  - optional - index of icon to extract - default 0 
  6803.  
  6804.        This function requires a licensed copy of "Modular And Integrated 
  6805.       Design" to be installed. 
  6806.  
  6807.        Contents. 
  6808.        Section 13 Graphic Functions. 
  6809.  
  6810.  
  6811. ΓòÉΓòÉΓòÉ 246. copyrectangle ΓòÉΓòÉΓòÉ
  6812.  
  6813.  copyrectangle 
  6814.  
  6815.  
  6816.        Copies a rectangle to the clipboard as a bitmap(available on windows 
  6817.       only) . 
  6818.  
  6819.        f=copyrectangle(hwnd,stemrect[,newwidth,newheight]) 
  6820.  
  6821.        hwnd  - handle of window (returned with opengraphicwindow) 
  6822.        stemrect  - stemname of stem containing the rectangle 
  6823.       position/dimensions 
  6824.        stemrect.X - x coordinate of rectangle 
  6825.        stemrect.Y - y coordinate of rectangle 
  6826.        stemrect.CX - width of rectangle 
  6827.        stemrect.CY - height of rectangle 
  6828.        newwidth  - optional - new width for the bitmap - default stemrect.CX - 
  6829.       width of rectangle 
  6830.        newheight  - optinal - new height for the bitmap - default stemrect.CY - 
  6831.       height of rectangle 
  6832.  
  6833.        This function requires a licensed copy of "Modular And Integrated 
  6834.       Design" to be installed. 
  6835.  
  6836.        Contents. 
  6837.        Section 13 Graphic Functions. 
  6838.  
  6839.  
  6840. ΓòÉΓòÉΓòÉ 247. pasterectangle ΓòÉΓòÉΓòÉ
  6841.  
  6842.  pasterectangle 
  6843.  
  6844.  
  6845.        Pastes a bitmap from the clipboard into the specified rectangle 
  6846.       (available on windows only) . 
  6847.  
  6848.        f=pasterectangle(hwnd,stemrect) 
  6849.  
  6850.        hwnd  - handle of window (returned with opengraphicwindow) 
  6851.        stemrect  - stemname of stem containing the rectangle 
  6852.       position/dimensions 
  6853.        stemrect.X - x coordinate of rectangle 
  6854.        stemrect.Y - y coordinate of rectangle 
  6855.        stemrect.CX - width of rectangle 
  6856.        stemrect.CY - height of rectangle 
  6857.  
  6858.        This function requires a licensed copy of "Modular And Integrated 
  6859.       Design" to be installed. 
  6860.  
  6861.        Contents. 
  6862.        Section 13 Graphic Functions. 
  6863.  
  6864.  
  6865. ΓòÉΓòÉΓòÉ 248. getcurrentpos ΓòÉΓòÉΓòÉ
  6866.  
  6867.  getcurrentpos 
  6868.  
  6869.  
  6870.        Gets the current position (available on windows only) . 
  6871.  
  6872.        f=getcurrentpos(hwnd,stempos) 
  6873.  
  6874.        hwnd  - handle of window (returned with opengraphicwindow) 
  6875.        stempos  - stemname of stem to return the current position 
  6876.        stempos.X - x coordinate of current position 
  6877.        stempos.Y - y coordinate of current position 
  6878.  
  6879.        This function requires a licensed copy of "Modular And Integrated 
  6880.       Design" to be installed. 
  6881.  
  6882.        Contents. 
  6883.        Section 13 Graphic Functions. 
  6884.  
  6885.  
  6886. ΓòÉΓòÉΓòÉ 249. getscrollpos ΓòÉΓòÉΓòÉ
  6887.  
  6888.  getscrollpos 
  6889.  
  6890.  
  6891.        Gets the current position of the scroll bars (available on windows only) 
  6892.       . 
  6893.  
  6894.        f=getscrollpos(hwnd,scrollpos) 
  6895.  
  6896.        hwnd  - handle of window (returned with opengraphicwindow) 
  6897.        scrollpos  - stemname of stem to return the current position of the 
  6898.       scrollbars 
  6899.  
  6900.        Returns 
  6901.        scrollpos.X - position of the horizontal scrollbar 
  6902.        scrollpos.Y - position of the vertical scrollbar 
  6903.  
  6904.        This function requires a licensed copy of "Modular And Integrated 
  6905.       Design" to be installed. 
  6906.  
  6907.        Contents. 
  6908.        Section 13 Graphic Functions. 
  6909.  
  6910.  
  6911. ΓòÉΓòÉΓòÉ 250. getscrollrange ΓòÉΓòÉΓòÉ
  6912.  
  6913.  getscrollrange 
  6914.  
  6915.  
  6916.        Gets the current range of the scrollbars (available on windows only) . 
  6917.  
  6918.        f=getscrollrange(hwnd,scrollrange) 
  6919.  
  6920.        hwnd  - handle of window (returned with opengraphicwindow) 
  6921.        scrollrange  - stemname of stem to return the current range of the 
  6922.       scrollbars 
  6923.  
  6924.        Returns 
  6925.        scrollrange.MINX - min range of the horizontal scrollbar 
  6926.        scrollrange.MINY - min range of the vertical scrollbar 
  6927.        scrollrange.MAXX - max range of the horizontal scrollbar 
  6928.        scrollrange.MAXY - max range of the vertical scrollbar 
  6929.  
  6930.        This function requires a licensed copy of "Modular And Integrated 
  6931.       Design" to be installed. 
  6932.  
  6933.        Contents. 
  6934.        Section 13 Graphic Functions. 
  6935.  
  6936.  
  6937. ΓòÉΓòÉΓòÉ 251. setscrollpos ΓòÉΓòÉΓòÉ
  6938.  
  6939.  setscrollpos 
  6940.  
  6941.  
  6942.        Sets the current scrollbar positions (available on windows only) . 
  6943.  
  6944.        f=setscrollpos(hwnd,scrollpos) 
  6945.  
  6946.        hwnd  - handle of window (returned with opengraphicwindow) 
  6947.        scrollpos  - stemname of stem with the current position of the 
  6948.       scrollbars 
  6949.        scrollpos.X - position of the horizontal scrollbar 
  6950.        scrollpos.Y - position of the vertical scrollbar 
  6951.  
  6952.        This function requires a licensed copy of "Modular And Integrated 
  6953.       Design" to be installed. 
  6954.  
  6955.        Contents. 
  6956.        Section 13 Graphic Functions. 
  6957.  
  6958.  
  6959. ΓòÉΓòÉΓòÉ 252. updatedisplayon ΓòÉΓòÉΓòÉ
  6960.  
  6961.  updatedisplayon 
  6962.  
  6963.  
  6964.        Sets graphic display on to reflect all drawing in real time . 
  6965.  
  6966.        f=updatedisplayon(hwnd) 
  6967.  
  6968.        hwnd  - handle of window (returned with opengraphicwindow) 
  6969.  
  6970.        This is the default for a window created with opengraphicwindow. 
  6971.        Any graphics drawn in memory after an updatedisplayoff command will be 
  6972.       refreshed to the window. 
  6973.  
  6974.        This function requires a licensed copy of "Modular And Integrated 
  6975.       Design" to be installed. 
  6976.  
  6977.        Contents. 
  6978.        Section 13 Graphic Functions. 
  6979.  
  6980.  
  6981. ΓòÉΓòÉΓòÉ 253. updatedisplayoff ΓòÉΓòÉΓòÉ
  6982.  
  6983.  updatedisplayoff 
  6984.  
  6985.  
  6986.        Sets graphic display off to freeze the display and draw in memory. 
  6987.  
  6988.        f=updatedisplayoff(hwnd) 
  6989.  
  6990.        hwnd  - handle of window (returned with opengraphicwindow) 
  6991.  
  6992.        Any graphics drawn after this command will be drawn in memory. After an 
  6993.       updatedisplayon command the graphics will be refreshed to the window. 
  6994.  
  6995.        This function requires a licensed copy of "Modular And Integrated 
  6996.       Design" to be installed. 
  6997.  
  6998.        Contents. 
  6999.        Section 13 Graphic Functions. 
  7000.  
  7001.  
  7002. ΓòÉΓòÉΓòÉ 254. Version Notice ΓòÉΓòÉΓòÉ
  7003.  
  7004.  Version Notice 
  7005.  
  7006.  
  7007.        REXXIO 
  7008.        Version 4.6 
  7009.  
  7010.        LesTec Pty Ltd 
  7011.        P O Box 1394 
  7012.        Dee Why 
  7013.        NSW 2099 
  7014.        AUSTRALIA 
  7015.  
  7016.        Web Address - http://www.lestec.com.au 
  7017.  
  7018.        (c) Copyright LesTec Pty Limited 1998-2000. All Rights Reserved. 
  7019.  
  7020.        A.C.N. 003 996 978 
  7021.  
  7022.  
  7023. ΓòÉΓòÉΓòÉ <hidden> No Title for this topic ΓòÉΓòÉΓòÉ
  7024.  
  7025.  
  7026. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  7027.  
  7028. Contents 
  7029.  
  7030.  
  7031.       A list of all Help topics available for REXXIO . For information on how 
  7032.       to use Help, press F1 
  7033.  
  7034.