DitsPutDefCode - Sets a new code to be associated with a named action.

Function

Sets a new code to be associated with a named action.

Description

Sets a code routine to be assocaited when the specified action is invoked. This will now impact a running action, its code won't change until the next time the action is started.

Language

C

Call

(long int) = DitsPutDefCode (name, code, status)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>namechar *Name of the action who's obey handle is to be changed.
>codelong intThe new action code.
!statusStatusType *Modified status.

Include files

DitsFix.h

Return value

The previous code value for the action..

External functions used

Dits___ActptrByNameDits internal Return the action pointer associated with an action name.

External values used

DitsTask - Details of the current task

Prior requirements

DitsAppInit must have been called.

See Also

The Dits Specification Document, DitsPutDefKickHandler(3), DitsPutObeyHandler(3), DitsPutActions(3), DitsPutCode(3), DitsGetCode(3).

Support

Tony Farrell, AAO

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tjf@aaoepp.aao.gov.au