help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error in documentation ?


From: Alain Baeckeroot
Subject: error in documentation ?
Date: Sat, 21 Mar 2009 18:15:57 +0100
User-agent: KMail/1.9.9

Dear all

I think there is an arror in documentation, wrt 'system' function :
 GNU Octave, version 3.0.1
 Octave was configured for "i486-pc-linux-gnu".

http://www.math.utah.edu/docs/info/octave_26.html    says :
[output, status] = system ("echo foo; exit 2");

But it seems the order is the opposite:
octave:20> [output, status] = system ("echo foo; exit 2")
output =  2
status = foo

This is annoying as one cannot get directly the ouput.

Regards.
Alain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]