banier.h File Reference

#include "machine.h"

Include dependency graph for banier.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void banner (void)
int C2F() banier (integer *flag)


Function Documentation

int C2F() banier ( integer flag  ) 

TODO : comment

Parameters:
flag 

Definition at line 56 of file banier.c.

References banner(), and sci_show_banner.

00057 {
00058         if (*flag != 999 && sci_show_banner == 1)
00059         {
00060                 banner();
00061         }
00062         return 0;
00063 }

Here is the call graph for this function:

void banner ( void   ) 

TODO : comment

Definition at line 14 of file banier.c.

References i, int, line, SCI_VERSION_STRING, and sciprint().

Referenced by banier().

00015 {
00016         int i;
00017         char *line = "        ___________________________________________        ";
00018         int startVersion = (int)(floor((double)(strlen(line)/2)) - floor((double)(strlen(SCI_VERSION_STRING)/2)));
00019         
00020         sciprint("%s\r\n",line);
00021         
00022         /* To center the version name */
00023         for( i=0 ; i<startVersion ; i++ )
00024         {
00025                 sciprint(" ");
00026         }
00027         
00028         sciprint("%s\r\n\n",SCI_VERSION_STRING);
00029         sciprint("                 Copyright (c) 1989-2007                   \r\n");
00030         sciprint("              Consortium Scilab (INRIA, ENPC)              \r\n");
00031         sciprint("%s\r\n",line);
00032 
00033         #if defined(__APPLE__)
00034                 sciprint("\r\n\r\n");
00035                 sciprint("Warning: the operational team of the Scilab Consortium\r\n");
00036                 sciprint("   doesn't provide and doesn't support the port of Scilab to MacOS.\r\n\r\n");
00037         #endif /* __APPLE__ */
00038 
00039         #if ( defined(_MSC_VER) && ( (_MSC_VER >= 1200) && (_MSC_VER < 1300) ) )
00040                 sciprint("\r\n\r\n");
00041                 sciprint("Warning: the operational team of the Scilab Consortium\r\n");
00042                 sciprint("   doesn't provide and doesn't support this version of Scilab built with\r\n");
00043                 sciprint("   ");
00044   #endif
00045 
00046         #if defined(_MSC_VER) && ( (_MSC_VER >= 1200) && (_MSC_VER < 1300) ) 
00047                 /* Visual Studio C++ 6.0 */
00048                 sciprint("Microsoft Visual C++ 6.0");
00049         #endif
00050 
00051         #if ( defined(_MSC_VER) && ( (_MSC_VER >= 1200) && (_MSC_VER < 1300) ) )
00052                 sciprint(".\r\n\r\n");
00053         #endif
00054 }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Sun Mar 4 15:14:35 2007 for Scilab [trunk] by  doxygen 1.5.1