prompt.h File Reference

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

Go to the source code of this file.

Defines

#define SCIPROMPT   "-->"
#define SCIPROMPT_PAUSE   ">>"
#define SCIPROMPT_INTERRUPT   "-%d->"

Functions

void C2F() setprlev (int *pause)
void GetCurrentPrompt (char *CurrentPrompt)


Define Documentation

#define SCIPROMPT   "-->"

Definition at line 12 of file prompt.h.

Referenced by CleanPromptFromText(), int_error(), next_input(), NotTTyRead(), setprlev(), and xget_font().

#define SCIPROMPT_INTERRUPT   "-%d->"

Definition at line 22 of file prompt.h.

Referenced by CleanPromptFromText(), next_input(), and setprlev().

#define SCIPROMPT_PAUSE   ">>"

Definition at line 17 of file prompt.h.

Referenced by CleanPromptFromText(), and setprlev().


Function Documentation

void GetCurrentPrompt ( char *  CurrentPrompt  ) 

Definition at line 23 of file prompt.c.

Referenced by Callback_GETCWD(), LaunchFilebyExtension(), Write_Scilab_Window(), and zzledt().

00024 {
00025         if (CurrentPrompt)
00026         {
00027                 strcpy(CurrentPrompt,Sci_Prompt);
00028         }
00029 }

Here is the caller graph for this function:

void C2F() setprlev ( int pause  ) 

Definition at line 13 of file prompt.c.

References pause(), Sci_Prompt, SCIPROMPT, SCIPROMPT_INTERRUPT, and SCIPROMPT_PAUSE.

Referenced by InitializeCore().

00014 {
00015         if ( *pause == 0 ) 
00016                 sprintf(Sci_Prompt,SCIPROMPT);
00017         else if ( *pause > 0 )
00018                 sprintf(Sci_Prompt,SCIPROMPT_INTERRUPT,*pause);
00019         else
00020                 sprintf(Sci_Prompt,SCIPROMPT_PAUSE);
00021 }

Here is the call graph for this function:

Here is the caller graph for this function:


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