comparison src/variables.cc @ 1343:94bedeb289e5

[project @ 1995-09-04 00:29:21 by jwe]
author jwe
date Mon, 04 Sep 1995 00:42:19 +0000
parents 611d403c7f3d
children 5f63d83dd694
comparison
equal deleted inserted replaced
1342:61bb2bdee11e 1343:94bedeb289e5
23 23
24 #ifdef HAVE_CONFIG_H 24 #ifdef HAVE_CONFIG_H
25 #include <config.h> 25 #include <config.h>
26 #endif 26 #endif
27 27
28 #if 0 28 #include <cfloat>
29 #include <ctype.h> 29 #include <cstring>
30 #include <iostream.h>
31
32 #include "mappers.h"
33 #endif
34 30
35 #include <sys/types.h> 31 #include <sys/types.h>
36 #ifdef HAVE_UNISTD_H 32 #ifdef HAVE_UNISTD_H
37 #include <unistd.h> 33 #include <unistd.h>
38 #endif 34 #endif
39 #include <float.h>
40 #include <string.h>
41 #include <strstream.h> 35 #include <strstream.h>
42 36
43 #include "defaults.h" 37 #include "defaults.h"
44 #include "version.h" 38 #include "version.h"
45 #include "dynamic-ld.h" 39 #include "dynamic-ld.h"
1554 "used with fseek to position file relative to the end"); 1548 "used with fseek to position file relative to the end");
1555 1549
1556 DEFVAR ("ans", SBV_ans, , 0, 0, 1, 0, 1550 DEFVAR ("ans", SBV_ans, , 0, 0, 1, 0,
1557 ""); 1551 "");
1558 1552
1553 DEFVAR ("argv", SBV_argv, , 0, 1, 1, 0,
1554 "the command line arguments this program was invoked with");
1555
1559 DEFVAR ("automatic_replot", SBV_automatic_replot, "false", 1556 DEFVAR ("automatic_replot", SBV_automatic_replot, "false",
1560 0, 0, 1, automatic_replot, 1557 0, 0, 1, automatic_replot,
1561 "if true, auto-insert a replot command when a plot changes"); 1558 "if true, auto-insert a replot command when a plot changes");
1562 1559
1563 DEFVAR ("default_return_value", SBV_default_return_value, Matrix (), 1560 DEFVAR ("default_return_value", SBV_default_return_value, Matrix (),
1648 "set output style to print `var_name = ...'"); 1645 "set output style to print `var_name = ...'");
1649 1646
1650 DEFVAR ("print_empty_dimensions", SBV_print_empty_dimensions, "true", 1647 DEFVAR ("print_empty_dimensions", SBV_print_empty_dimensions, "true",
1651 0, 0, 1, print_empty_dimensions, 1648 0, 0, 1, print_empty_dimensions,
1652 "also print dimensions of empty matrices"); 1649 "also print dimensions of empty matrices");
1650
1651 DEFVAR ("program_invocation_name", SBV_program_invocation_name,
1652 raw_prog_name, 0, 1, 1, 0,
1653 "the full name of the current program or script, including the\n\
1654 directory specification");
1655
1656 DEFVAR ("program_name", SBV_program_name, prog_name, 0, 1, 1, 0,
1657 "the name of the current program or script");
1653 1658
1654 DEFVAR ("propagate_empty_matrices", SBV_propagate_empty_matrices, 1659 DEFVAR ("propagate_empty_matrices", SBV_propagate_empty_matrices,
1655 "true", 0, 0, 1, propagate_empty_matrices, 1660 "true", 0, 0, 1, propagate_empty_matrices,
1656 "operations on empty matrices return an empty matrix, not an error"); 1661 "operations on empty matrices return an empty matrix, not an error");
1657 1662