Navigation

Operators and Keywords

Function List:

C++ API

: val = info_program ()
: old_val = info_program (new_val)
: info_program (new_val, "local")

Query or set the internal variable that specifies the name of the info program to run.

The default value is octave-home/libexec/octave/version/exec/arch/info in which octave-home is the root directory of the Octave installation, version is the Octave version number, and arch is the system type (for example, i686-pc-linux-gnu). The default value may be overridden by the environment variable OCTAVE_INFO_PROGRAM, or the command line argument --info-program NAME.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

See also: info_file, doc, help, makeinfo_program.

Package: octave