txt = return_size_dial(name,flag)
Add here a paragraph of the function description. Other paragraph can be added
Add here a paragraph of the function description
Add here scilab instructions and comments
//Fonction qui retourne la taille d'une fenêtre //de dialogue spéciée dans un fichier SPECIALDESC //Entrée name : nom du fichier (ex :'CONVOLGEN_f') // flag : html ou guide //Sortie txt : nouvelle taille de la figure function txt=return_size_dial(name,flag) if fileinfo(tex_path+lang+'/'+name+'/SPECIALDESC')<>[] then txt=[]; h=[]; //height w=[]; //width s=[]; //scale tt=mgetl(tex_path+lang+'/'+name+'/SPECIALDESC'); for i=1:size(tt,1) if flag=='html' then if strindex(tt(i),'dial_width_html')<>[] then i_equ=strindex(tt(i),'=') txt='width='+part(tt(i),i_equ+1:length(tt(i))) end elseif flag=='guide' then if strindex(tt(i),'dial_width_guide')<>[] then i_equ=strindex(tt(i),'=') txt='[width='+part(tt(i),i_equ+1:length(tt(i)))+']' end end end else txt=[]; end endfunction