diff options
Diffstat (limited to 'macros/ToolInitialization/INIT_GenLibraries.sci')
-rw-r--r-- | macros/ToolInitialization/INIT_GenLibraries.sci | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/macros/ToolInitialization/INIT_GenLibraries.sci b/macros/ToolInitialization/INIT_GenLibraries.sci index eb2c01b7..184633a8 100644 --- a/macros/ToolInitialization/INIT_GenLibraries.sci +++ b/macros/ToolInitialization/INIT_GenLibraries.sci @@ -1,61 +1,61 @@ -function INIT_GenLibraries(FileInfoDatFile)
-// function INIT_GenLibraries(FileInfoDatFile)
-// -----------------------------------------------------------------
-// #RNU_RES_B
-// This function initializes the SCI2C and USER libraries.
-// For each Scilab function a .ann file is created where the function
-// annotations are listed into it.
-// #RNU_RES_E
-//
-// Input data:
-// FileInfoDatFile: name of the .dat file containing the FileInfo structure.
-//
-// Output data:
-// ---
-//
-// Status:
-// 12-Jun-2007 -- Nutricato Raffaele: Author.
-// 03-Jan-2008 -- Nutricato Raffaele: Changed directory structure.
-//
-// Copyright 2007 Raffaele Nutricato.
-// Contact: raffaele.nutricato@tiscali.it
-// -----------------------------------------------------------------
-
-// ------------------------------
-// --- Check input arguments. ---
-// ------------------------------
-SCI2CNInArgCheck(argn(2),1,1);
-
-// -----------------------
-// --- Initialization. ---
-// -----------------------
-// --- Load File Info Structure. ---
-clear FileInfo
-load(FileInfoDatFile,'FileInfo');
-
-// --- Load Shared Info Structure. ---
-clear SharedInfo
-load(FileInfo.SharedInfoDatFile,'SharedInfo');
-
-PrintStepInfo('Initialize SCI2C and USER2C Libraries.',...
- FileInfo.GeneralReport,'both');
-// ---------------------------
-// --- End Initialization. ---
-// ---------------------------
-
-// -----------------------------------------------------------
-// --- Fills SCI2C and USER2C libs with appropriate files. ---
-// -----------------------------------------------------------
-INIT_FillSCI2LibCDirs(FileInfo,SharedInfo.Extension);
-
-// #RNU_RES_B
-//NUT the following functions will be useful in next release
-//NUT for advanced use of SCI2C
-//INIT_FillSCI2LibSCIDirs(FileInfo,SharedInfo.Extension);
-//INIT_FillUSER2LibCDirs(FileInfo,SharedInfo.Extension);
-//INIT_FillUSER2LibSCIDirs(FileInfo,SharedInfo.Extension);
-// ---------------------------------------------------------------
-// --- End Fills SCI2C and USER2C libs with appropriate files. ---
-// ---------------------------------------------------------------
-// #RNU_RES_E
-endfunction
+function INIT_GenLibraries(FileInfoDatFile) +// function INIT_GenLibraries(FileInfoDatFile) +// ----------------------------------------------------------------- +// #RNU_RES_B +// This function initializes the SCI2C and USER libraries. +// For each Scilab function a .ann file is created where the function +// annotations are listed into it. +// #RNU_RES_E +// +// Input data: +// FileInfoDatFile: name of the .dat file containing the FileInfo structure. +// +// Output data: +// --- +// +// Status: +// 12-Jun-2007 -- Nutricato Raffaele: Author. +// 03-Jan-2008 -- Nutricato Raffaele: Changed directory structure. +// +// Copyright 2007 Raffaele Nutricato. +// Contact: raffaele.nutricato@tiscali.it +// ----------------------------------------------------------------- + +// ------------------------------ +// --- Check input arguments. --- +// ------------------------------ +SCI2CNInArgCheck(argn(2),1,1); + +// ----------------------- +// --- Initialization. --- +// ----------------------- +// --- Load File Info Structure. --- +clear FileInfo +load(FileInfoDatFile,'FileInfo'); + +// --- Load Shared Info Structure. --- +clear SharedInfo +load(FileInfo.SharedInfoDatFile,'SharedInfo'); + +PrintStepInfo('Initialize SCI2C and USER2C Libraries.',... + FileInfo.GeneralReport,'both'); +// --------------------------- +// --- End Initialization. --- +// --------------------------- + +// ----------------------------------------------------------- +// --- Fills SCI2C and USER2C libs with appropriate files. --- +// ----------------------------------------------------------- +INIT_FillSCI2LibCDirs(FileInfo,SharedInfo.Extension); + +// #RNU_RES_B +//NUT the following functions will be useful in next release +//NUT for advanced use of SCI2C +//INIT_FillSCI2LibSCIDirs(FileInfo,SharedInfo.Extension); +//INIT_FillUSER2LibCDirs(FileInfo,SharedInfo.Extension); +//INIT_FillUSER2LibSCIDirs(FileInfo,SharedInfo.Extension); +// --------------------------------------------------------------- +// --- End Fills SCI2C and USER2C libs with appropriate files. --- +// --------------------------------------------------------------- +// #RNU_RES_E +endfunction |