Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #684

Re: return code for plot command

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: return code for plot command
Followup-To comp.graphics.apps.gnuplot
Date 2011-11-14 08:34 -0800
Organization gnuplot development team
Message-ID <j9rfu5$3bk$1@dont-email.me> (permalink)
References <1c96467a-0734-4046-ae77-18346c21fd3c@k10g2000yqn.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


ab wrote:

> Hi,
> 
> is there a possibility to stop the execution of a gnuplot script if a
> plot  fails or returns some warnings/errors ?
> in shell programing one whould check the return code of a command.

reset error

... do stuff ...

if (GPVAL_ERRNO) exit gnuplot

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

return code for plot command ab <ab.3942@googlemail.com> - 2011-11-14 03:22 -0800
  Re: return code for plot command sfeam <sfeam@users.sourceforge.net> - 2011-11-14 08:34 -0800

csiph-web