comparison src/user-prefs.h @ 1:78fd87e624cb

[project @ 1993-08-08 01:13:40 by jwe] Initial revision
author jwe
date Sun, 08 Aug 1993 01:13:40 +0000
parents
children 7a647cf4850c
comparison
equal deleted inserted replaced
0:22412e3a4641 1:78fd87e624cb
1 // user-prefs.h -*- C++ -*-
2 /*
3
4 Copyright (C) 1992, 1993 John W. Eaton
5
6 This file is part of Octave.
7
8 Octave is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the
10 Free Software Foundation; either version 2, or (at your option) any
11 later version.
12
13 Octave is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with Octave; see the file COPYING. If not, write to the Free
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21
22 */
23
24 #if !defined (_user_prefs_h)
25 #define _user_prefs_h 1
26
27 #ifdef __GNUG__
28 #pragma interface
29 #endif
30
31 struct user_preferences
32 {
33 int do_fortran_indexing;
34 int empty_list_elements_ok;
35 int implicit_str_to_num_ok;
36 int ok_to_lose_imaginary_part;
37 int prefer_column_vectors;
38 int prefer_zero_one_indexing;
39 int print_answer_id_name;
40 int propagate_empty_matrices;
41 int print_empty_dimensions;
42 int resize_on_range_error;
43 int return_last_computed_value;
44 int silent_functions;
45 int split_long_rows;
46 int treat_neg_dim_as_zero;
47 int warn_comma_in_global_decl;
48 int warn_divide_by_zero;
49 int warn_assign_as_truth_value;
50 int page_screen_output;
51 int output_max_field_width;
52 int output_precision;
53
54 char *loadpath;
55 char *ps1;
56 char *ps2;
57 char *pwd;
58 char *gnuplot_binary;
59 char *pager_binary;
60 };
61
62 extern user_preferences user_pref;
63
64 extern int do_fortran_indexing (void);
65 extern int empty_list_elements_ok (void);
66 extern int implicit_str_to_num_ok (void);
67 extern int ok_to_lose_imaginary_part (void);
68 extern int prefer_column_vectors (void);
69 extern int prefer_zero_one_indexing (void);
70 extern int print_answer_id_name (void);
71 extern int propagate_empty_matrices (void);
72 extern int print_empty_dimensions (void);
73 extern int resize_on_range_error (void);
74 extern int return_last_computed_value (void);
75 extern int silent_functions (void);
76 extern int split_long_rows (void);
77 extern int treat_neg_dim_as_zero (void);
78 extern int warn_comma_in_global_decl (void);
79 extern int warn_divide_by_zero (void);
80 extern int warn_assign_as_truth_value (void);
81 extern int page_screen_output (void);
82
83 extern int set_output_max_field_width (void);
84 extern int set_output_precision (void);
85
86 extern int sv_loadpath (void);
87 extern int sv_pager_binary (void);
88 extern int sv_ps1 (void);
89 extern int sv_ps2 (void);
90 extern int sv_pwd (void);
91 extern int sv_gnuplot_binary (void);
92
93 #endif
94
95 /*
96 ;;; Local Variables: ***
97 ;;; mode: C++ ***
98 ;;; page-delimiter: "^/\\*" ***
99 ;;; End: ***
100 */