KARexx.dll
----------

A rexx dll which currently provides 5 functions feel free to use them for
anything you like.

1)  KALoadFuncs
    loads all functions
2)  KADropFuncs
    syntax:  call KADropFuncs
    drop all functions from menu
3)  QueryObjectPath
    syntax: rc = QueryObjectPath( nameofObject, variable )
        nameofObject:   either an object id( eg "<WP_DESKTOP>")
                        or a fully qualified file name
        variable:       the name of a rexx variable in which to save the filename to
        rc:             if TRUE( 1 ) the object exists and variable will be set to the path
                        if FALSE( 0 ) the object doesn't exit

    example:
        if QueryObjectPath( "<WP_DESKTOP>", "PATH" ) then
            Say "<WP_DESKTOP> exists at "PATH
        else Say "no object has id <WP_DESKTOP>"
    NOTE: for abstract objects this function will always fail as they don't
        have a file/directory.

4)  IgnoreCaseMatch
5)  CaseMatch
    syntax:
        rc = IgnoreCaseMatch( pattern, string )
        rc =       CaseMatch( pattern, string )
        pattern:       a pattern which can contain wildcards
                    wildcards currently understood
                        *   -   any number of any characters
                        ?   -   any single character
        string:        is a string to attemt to match pattern to
        rc:            TRUE  if match
                       FALSE if no match

        IgnoreCaseMatch ignores case so 'FOOBAR' equals 'FooBar'
        CaseMatch is case sensitive so 'FOOBAR' doesn't match 'FooBar'
    example:
        file = "pmtree.exe"
        if IgnoreCaseMatch( "*.exe", file ) then
            Say file" has extension .exe"
        else Say file" doesn't have extension .exe"


Legal Stuff
-----------
KARexx.dll is (c) Copyright 1996 by Kevin Ash.

KARexx.dll is distributed in the hope that it will be useful, but with
ABSOLUTELY NO WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.
