return scilab window mode
havewindow()
havewindow() returns %t if Scilab has it own window and %f if not, i.e. if Scilab has been invoked by scilab -nw. (nw stands for "no-window").
%t
%f
scilab -nw
nw