Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function
create a dialog box for the choice of options
num = demo_choose(fil)
The function demo_choose create a dialog box for the choice of options. It takes as argument the binary file 'fil'. This file is built by a .sce file written like below. It shall contain the variables 'choice', an array of text within bracket (the different options), and 'titl', the title of the dialog box. After that, the .sce file shall save both variables in the binary file in argument. Before the use of demo_choose, the .sce file shall be executed. The function demo_choose returns the number of line chosen in the options array.
- x_choose — interactive window choice (modal dialog)
- demo_mdialog — create a dialog box
|<< demo_begin||Ferramentas de Demonstração||demo_compiler >>|