demo_choose
create a dialog box for the choice of options. This function is obsolete. Please use x_choose
instead.
Syntax
num = demo_choose(fil)
Arguments
- fil
String containing the path of the binary file.
- num
a number of the selected line.
Description
The function demo_choose create a dialog box for the choice of options. It takes as argument the binary file 'fil'. It shall contain the variables 'choice', an array of text within bracket (the different options), and 'titl', the title of the dialog box. The function demo_choose returns the number of line chosen in the options array.
Examples
See also
- x_choose — interactive window choice (modal dialog)
History
Version | Description |
2026.0.0 | Tagged obsolete and will be removed in Scilab 2026.1.0. |
Report an issue | ||
<< demo_begin | Demo Tools | demo_compiler >> |