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

Go to the source code of this file.
Functions | |
| int C2F() | basout (integer *io, integer *lunit, char *string, long int notused) |
Definition at line 18 of file basout.c.
References C2F, diary(), iflag, L, lct, lunit, readrtechar(), string, wio, writelunitstring(), writewtemore(), wte, xscimore(), xscion(), and xscistring().
00019 { 00020 static integer iflag; 00021 static char ch[1]; 00022 static integer ich; 00023 00024 if (*lunit == C2F(iop).wte) 00025 { 00026 /* Sortie sur la sortie standard */ 00027 C2F(xscion)(&iflag); 00028 *io = 0; 00029 if (C2F(iop).lct[0] == -1) { return 0; } 00030 if (C2F(iop).lct[1] > 0) 00031 { 00032 /* Gestion de la pagination */ 00033 if (C2F(iop).lct[0] + 3 > C2F(iop).lct[1]) 00034 { 00035 /* nombre maxi de ligne atteint,gestion du more */ 00036 C2F(iop).lct[0] = 0; 00037 if (iflag == 0) 00038 { 00039 /* scilab n'a pas de fenetre propre */ 00040 C2F(writewtemore)(); 00041 *(unsigned char *)ch = ' '; 00042 C2F(readrtechar)(ch, 1L); 00043 if (*(unsigned char *)ch != ' ') 00044 { 00045 ich = 1; 00046 } 00047 } 00048 else 00049 { 00050 /* scilab a une fenetre en propre */ 00051 C2F(xscimore)(&ich); 00052 } 00053 if (ich == 1) 00054 { 00055 C2F(iop).lct[0] = -1; 00056 *io = -1; 00057 return 0; 00058 } 00059 } 00060 else 00061 { 00062 ++C2F(iop).lct[0]; 00063 } 00064 } 00065 00066 if (iflag == 0) 00067 { 00068 C2F(writelunitstring)(lunit, string, notused); 00069 } 00070 else 00071 { 00072 C2F(xscistring)(string, ¬used, notused); 00073 } 00074 /* write to diary file if required */ 00075 C2F(diary)(string, ¬used, notused); 00076 } 00077 else 00078 { 00079 /* sortie sur fichier */ 00080 if (*lunit == C2F(iop).wio) 00081 { 00082 C2F(diary)(string, ¬used, notused); 00083 } 00084 else 00085 { 00086 C2F(writelunitstring)(lunit, string,notused); 00087 } 00088 } 00089 return 0; 00090 }
Here is the call graph for this function:

1.5.1