File: flags.c

package info (click to toggle)
scilab 2.2-4
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 31,472 kB
  • ctags: 21,963
  • sloc: fortran: 110,983; ansic: 89,717; makefile: 3,016; sh: 1,892; csh: 150; cpp: 101
file content (28 lines) | stat: -rw-r--r-- 417 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <X11/Xlib.h>

static int echo_mode = True;
static int reading = False;
/* 
   functions to handle echo of typed scilab commands 
*/
void set_echo_mode(mode)
int mode;
{
    echo_mode = mode;
}
int get_echo_mode()
{
    return(echo_mode);
}
/* 
   functions to handle when scilab waits for commands 
*/
void set_is_reading(mode)
int mode;
{
    reading = mode;
}
int get_is_reading()
{
    return(reading);
}