Fonction Scilab
eng - fr


write_header - retourne l'en-tête du script de chargement pour le script de construction de la boîte à outils

Librairie

Séquence d'appel

write_header(u,builder_name)

Paramètres

Description

Add here a paragraph of the function description. Other paragraph can be added

Add here a paragraph of the function description

Exemple

Add here scilab instructions and comments

Contenu du fichier


//write_header(u,builder_name)
//Entrée : u file descriptor
//         builder_name : name of builder
//Sortie : néant
function []=write_header(u,builder_name)
 tt_loader=['//Loader Script of mod_num for scilab 3.0'
            '//Generated by '+builder_name
            '//'+date()+' Ircom Group A.Layec';'';
            '//Redefine stacksize'
            'stacksize(30000000);';'';
            '//Define mod_num root path']
 if MSDOS then
   tt_loader=[tt_loader;'MODNUM=get_absolute_file_path(''loader.sce'');';
                       'if part(MODNUM,length(MODNUM))==''\'' then';
                       '   MODNUM=part(MODNUM,1:length(MODNUM)-1);';
                       'end']
   //tt_loader=[tt_loader;'MODNUM=;'+MODNUM;]  
   //end
 else
   tt_loader=[tt_loader;'MODNUM='+""""+MODNUM+""";";'';]
 end
 fprintf(u,"%s\n",tt_loader);
endfunction

Fonction(s) utilisée(s)

Add here the used function name and references

Auteurs

enter here the author name Add here the author references