PanelOffReturn()
Needed for closing a child panel with a return value.
Synopsis
PanelOffReturn(dyn_float resultFloat,dyn_string resultText);
Parameters
Parameter | Description |
---|---|
resultFloat | Return value in form of floating point. |
resultText | Return value in form of string |
Return value
None
Error
Description
Child panels with a return value must be closed by the function PanelOffReturn() from the librarypanel.ctl. The parameters dyn_float resultFloat and dyn_string resultText contain the return values of the child panel.
This function does NOT execute a return, which means the further CTRL codes in one script will still be executed after calling the function PanelOffReturn(). Use the return manually in the script and the following codes will not be executed any more.
Example
main()
{
dyn_float f;
dyn_string s;
PanelOffReturn(f,s);
}
Assignment
panel.ctl
Availability
UI