** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
- ** $Id: ezset.cpp,v 1.7 2000/07/29 19:50:08 kevin Exp $
+ ** $Id: ezset.cpp,v 1.8 2000/12/06 01:46:43 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
int code;
bool retval = true;
if (! pol_usertok (str, &code)) {
- cerr << "Illegal EZSET command: " << str << endl;
+ sys_error(ERR_WARNING, "Illegal EZSET command: %s", str);
pol_reader();
retval = false;
}
void
EZPlot::bad_option (char *opt)
{
- cerr << opt << " is an INVALID option\n";
+ sys_error (ERR_WARNING, "INVALID option: %s", opt);
}
/*----------------------------------------------------------------------*/