[Contents] [Index] [Help] [Browse <] [Browse >]


amarquee.library/QDebugOp           amarquee.library/QDebugOp

   NAME
    QDebugOp - Sends a debug string to the AMarquee server.

   SYNOPSIS
    #include 

    LONG QDebugOp(struct QSession * session, char * string)

   FUNCTION
    Causes the AMarquee server to display the given string
    in its debug output window, if the debug output window is
    open.
    
   NOTE
    Probably not all that useful!
    
   INPUTS
    session - The session to send the debug op to.
    string  - The debug string to send to the server.
    
   RESULTS
    Returns the assigned ID number for the debug operation on
    success, or 0 on failure.
    
   EXAMPLE
    LONG transID;
    
    if (transID = QDebugOp(session, "Just a debug string"))
       printf("Debug op succeeded, was given id #%li\n",transID);
    else 
       printf("Debug op failed.  (no memory?)\n");

   AREXX EXAMPLE
    transID = QDebugOp(session, 'An ARexx debug string')
    if (transID = 0) then say "Oops, operation failed"

   SEE ALSO
    QGo
    

Converted on 24 Mar 2002 with RexxDoesAmigaGuide2HTML 2.1e(private) by Michael Ranner.