For the user interface to work, DitsAppInit must have been called with the DITS_M_X_COMPATIBLE flag.
If argc is positive, then the following Tcl global variables are set
DTCL_COMMAND | An action which causes a Tcl Command to be executed in the user interface's Tcl interpreter. It should have a single character string argument which is the Tcl command to be executed. It enables another task to issue any command which could be typed directly at the user interface. |
---|---|
DTCL_ENABLE | An integer parameter which is 1 if the user interface is currently enabled and 0 if it is disabled. |
DTCL_PROMPT | A character string parameter which specifies the current prompt string for the user interface. |
n1 | Message bytes allowed for messages to be sent. |
---|---|
n2 | Message bytes allowed for return messages |
n3 | Number of return messages which may occur. |
> | argc | int | Argc as passed to the main function. |
---|---|---|---|
> | argv | char ** | Argv as passed to the main function. |
> | MessageBytes | int | Bytes to allocate to send message. |
> | MaxMessages | int | Maximum number of messages to send. |
> | ReplyBytes | int | Bytes to allocate for replies. |
> | MaxReplies | int | Maximum number of replies. |
> | TclScript | char * | File name of a Tcl script to execute on initialization. |
> | enable | int | 1 to enable the user interface, 0 to disable it. |
> | prompt | char * | Prompt string for the user interface. |
> | CommandDefn | DtclAppCommandDefnType | A routine which will be called after creation of the Tcl interpreter which can be used to define application specific Tcl commands. If zero, not used. |
> | clientData | void * | Item passed to CommandDef routine |
! | status | StatusType * | Modified status.
|
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aao.gov.au