home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD5.iso / workbench / datatypes / switchwindowal.lha / sw.parseclass.c.doc < prev    next >
Encoding:
Text File  |  1996-03-18  |  2.0 KB  |  76 lines

  1. TABLE OF CONTENTS
  2.  
  3. switchwindow/parseclass
  4. switchwindow/parseclass                               switchwindow/parseclass
  5.  
  6.    NAME
  7.        parseclass -- Command interpreter class
  8.  
  9.    FUNCTION
  10.        Class:        parseclass
  11.        Superclass:   icclass
  12.  
  13.        Parsing object
  14.  
  15.    METHODS
  16.        OM_NEW -- Create a new object.
  17.  
  18.        OM_SET -- Set an object's attribute.
  19.  
  20.        OM_GET -- Obtain the value of an attribute.
  21.  
  22.        OM_UPDATE -- If PARSEA_STRING/PARSEA_ARGUMENTS are given, the string
  23.            will be parsed, the resultarray will be filled and the hook is
  24.            called.
  25.  
  26.        OM_DISPOSE -- Dispose object.
  27.  
  28.        ...
  29.    TAGS
  30.        PARSEA_TEMPLATE (STRPTR) -- Command template used by ReadArgs().
  31.            Note that the string is NOT cached by the object and must be
  32.            valid during object's lifetime !
  33.  
  34.            Defaults to "," which means no arguments.
  35.  
  36.            Applicability is (IG).
  37.  
  38.        ...
  39.  
  40.        PARSEA_DEFAULTARGS (STRPTR) -- default cmdstring when
  41.            PARSEA_STRING/PARSEA_ARGUMENTS are missing.
  42.            Note that the string is NOT cached by the object and must be
  43.            valid during object's lifetime !
  44.  
  45.            Applicability is (ISG).
  46.  
  47.        ...
  48.  
  49.        PARSEA_STRING (STRPTR) -- argument string to process, will be passed
  50.            to the hook (if given) and may be notified from it.
  51.  
  52.            Applicability is (UN).
  53.  
  54.        PARSEA_COMMANDNAME (STRPTR) -- name of command, will be passed to the
  55.            hook (when PARSEA_STRING is given) and may be notified from it.
  56.  
  57.            Applicability is (UN).
  58.  
  59.        PARSEA_ARGUMENTS (STRPTR) -- argument string, will be passed to the
  60.            hook and may be notified from it.
  61.            This overrides any arguments given by PARSEA_STRING.
  62.  
  63.            Applicability is (UN).
  64.  
  65.    SEE ALSO
  66.        dos.library/ReadArgs()
  67.  
  68.    NOTES
  69.        ...
  70.  
  71.    BUGS
  72.        PARSEA_STRING/PARSEA_COMMANDNAME/PARSEA_ARGUMENTS are currently not
  73.        send to the hook.
  74.        Will be fixed.
  75.  
  76.