Use the tabs on the upper right to switch to a different programming language.
Use the tabs on the upper right to switch to a different programming language.
Use the tabs on the upper right to switch to a different programming language.
Use the tabs on the upper right to switch to a different programming language.
dev_close_inspect_ctrldev_close_inspect_ctrlDevCloseInspectCtrlDevCloseInspectCtrldev_close_inspect_ctrl (算子名称)
名称
dev_close_inspect_ctrldev_close_inspect_ctrlDevCloseInspectCtrlDevCloseInspectCtrldev_close_inspect_ctrl — Close inspect window(s) of one or more control variables.
参数签名
dev_close_inspect_ctrl( : : Variable : )
Herror dev_close_inspect_ctrl(double Variable)
Herror T_dev_close_inspect_ctrl(const Htuple Variable)
void DevCloseInspectCtrl(const HTuple& Variable)
def dev_close_inspect_ctrl(variable: MaybeSequence[Union[int, float, str]]) -> None
描述
dev_close_inspect_ctrldev_close_inspect_ctrlDevCloseInspectCtrlDevCloseInspectCtrlDevCloseInspectCtrldev_close_inspect_ctrl is the counterpart operator to
dev_inspect_ctrldev_inspect_ctrlDevInspectCtrlDevInspectCtrlDevInspectCtrldev_inspect_ctrl.
It closes the variable inspect window or windows corresponding to
the variables specified in VariableVariableVariableVariablevariablevariable.
The parameter VariableVariableVariableVariablevariablevariable can contain an expression (e.g., tuple)
with several variable names.
First, 该算子 dev_close_inspect_ctrldev_close_inspect_ctrlDevCloseInspectCtrlDevCloseInspectCtrlDevCloseInspectCtrldev_close_inspect_ctrl tries to find an inspect
window with an exact match of the listed variables.
If it is found, it will be closed.
If no exact match is found, 该算子 tries to remove for every listed
variable one column from the first matching inspect window.
By removing the last column of an inspect window the window is closed.
As an alternative, the inspect windows can be closed by pressing the
Close-button in the title bar.
注意
This operator only works for single floating inspect windows, i.e.,
inspect windows that are neither docked nor tabbed.
This operator is not supported for code export.
参数表
VariableVariableVariableVariablevariablevariable (input_control) real(-array) → HTupleMaybeSequence[Union[int, float, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)
Name of the variable which inspect window
has to be closed.
例程 (HDevelop)
Var := 1
dev_inspect_ctrl (Var)
Var := [1,2,3,9,5,6,7,8]
Var[3] := 4
stop ()
dev_close_inspect_ctrl (Var)
结果
dev_close_inspect_ctrldev_close_inspect_ctrlDevCloseInspectCtrlDevCloseInspectCtrlDevCloseInspectCtrldev_close_inspect_ctrl returns always 2 (
H_MSG_TRUE)
.
可能的前置算子
dev_inspect_ctrldev_inspect_ctrlDevInspectCtrlDevInspectCtrlDevInspectCtrldev_inspect_ctrl
模块
Foundation