bump to -rc12
[gnucap-felix.git] / lib / io.cc
blob61a1bb5aed181da9cd23eeab8acdcab5e2be6275
1 /*$Id: io.cc,v 1.2 2009-11-30 10:56:40 felix Exp $ -*- C++ -*-
2 * Copyright (C) 2001 Albert Davis
3 * Author: Albert Davis <aldavis@gnu.org>
5 * This file is part of "Gnucap", the Gnu Circuit Analysis Package
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3, or (at your option)
10 * any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 * 02110-1301, USA.
21 *------------------------------------------------------------------
22 * shared data for all io functions, initialization, default values
24 //testing=trivial 2006.07.17
25 #include "io_.h"
27 OMSTREAM IO::mstdout(stdout);
30 // BUG. use stdout in interactive mode!
31 // (or something like that)
32 OMSTREAM IO::error(stdout);
34 OMSTREAM IO::plotout;
35 bool IO::plotset(false);
36 int IO::formaat(0);
37 bool IO::incipher(false);
38 FILE* IO::stream[MAXHANDLE+1] = {0, stdout, stderr};