// user-prefs.h -*- C++ -*- /* Copyright (C) 1992, 1993 John W. Eaton This file is part of Octave. Octave is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. Octave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Octave; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #if !defined (_user_prefs_h) #define _user_prefs_h 1 #ifdef __GNUG__ #pragma interface #endif struct user_preferences { int do_fortran_indexing; int empty_list_elements_ok; int implicit_str_to_num_ok; int ok_to_lose_imaginary_part; int prefer_column_vectors; int prefer_zero_one_indexing; int print_answer_id_name; int propagate_empty_matrices; int print_empty_dimensions; int resize_on_range_error; int return_last_computed_value; int silent_functions; int split_long_rows; int treat_neg_dim_as_zero; int warn_comma_in_global_decl; int warn_divide_by_zero; int warn_assign_as_truth_value; int page_screen_output; int output_max_field_width; int output_precision; char *loadpath; char *ps1; char *ps2; char *pwd; char *gnuplot_binary; char *pager_binary; }; extern user_preferences user_pref; extern int do_fortran_indexing (void); extern int empty_list_elements_ok (void); extern int implicit_str_to_num_ok (void); extern int ok_to_lose_imaginary_part (void); extern int prefer_column_vectors (void); extern int prefer_zero_one_indexing (void); extern int print_answer_id_name (void); extern int propagate_empty_matrices (void); extern int print_empty_dimensions (void); extern int resize_on_range_error (void); extern int return_last_computed_value (void); extern int silent_functions (void); extern int split_long_rows (void); extern int treat_neg_dim_as_zero (void); extern int warn_comma_in_global_decl (void); extern int warn_divide_by_zero (void); extern int warn_assign_as_truth_value (void); extern int page_screen_output (void); extern int set_output_max_field_width (void); extern int set_output_precision (void); extern int sv_loadpath (void); extern int sv_pager_binary (void); extern int sv_ps1 (void); extern int sv_ps2 (void); extern int sv_pwd (void); extern int sv_gnuplot_binary (void); #endif /* ;;; Local Variables: *** ;;; mode: C++ *** ;;; page-delimiter: "^/\\*" *** ;;; End: *** */