MIL_ID ContextFuncId, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function allows you to control the specified user-defined MIL function context.
Specifies the identifier of the user-defined MIL function context. Depending on the control type, the context must have been allocated using a specific MIL allocation function.
Specifies the user-defined MIL function context setting to control.
See the Parameter associations section for possible values that can be specified.
Specifies the setting's new value.
See the Parameter associations section for possible values that can be specified.
The table below lists possible values for the ControlType and ControlValue parameters.
The following ControlType and ControlValue parameter settings can be specified when the function context being controlled is a script-based user-defined MIL function context allocated using MfuncAllocScript().
For script-based user-defined MIL
functions
|
|||||||||||||||||||||||||||||||||||||||
ControlType | Description
|
||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_ADD_SCRIPT_REFERENCE |
Adds the specified DLL to the list of DLLs that are referred to during runtime. (more details...) |
||||||||||||||||||||||||||||||||||||||
Casts the address of the string identifying the path and file name of the DLL, from a MIL_CONST_TEXT_PTR to a MIL_DOUBLE. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
This parameter specifies the string whose address to cast. |
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
M_COMPILE |
Sets when the script is reloaded from disk and recompiled. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MODIFIED |
Specifies that the script is recompiled only if the file on disk has changed. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ONCE |
Specifies that the script is only compiled once. |
||||||||||||||||||||||||||||||||||||||
M_DEBUG_INFORMATION |
Sets if the interpreter interface DLL must generate debug information for the script. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NO |
Specifies that the script is compiled in release mode, using optimization flags. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_YES |
Specifies that the script is compiled in debug mode, and that the necessary debug information is generated. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEBUG_INFORMATION_PATH |
Sets the path of the directory in which the compiled version of the script and other files are created, if they are relevant for the scripting language. (more details...) |
||||||||||||||||||||||||||||||||||||||
Casts the address of the string identifying the path, from a MIL_CONST_TEXT_PTR to a MIL_DOUBLE. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
This parameter specifies the string whose address to cast. |
|||||||||||||||||||||||||||||||||||||||
|
1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |