[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49383] Command-line options counted as as inp
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #49383] Command-line options counted as as input arguments when started as an application but not when running scripts |
Date: |
Sat, 22 Oct 2016 17:28:53 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Update of bug #49383 (project octave):
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #4:
I suggest you read
https://www.gnu.org/software/octave/doc/interpreter/Executable-Octave-Programs.html
which contains a simple example of how to process command line arguments to an
Octave program.
Octave scripts do not have arguments. Octave functions do have arguments
(using named parameters, nargin, varargin, etc), and Octave programs do have
arguments (using argv).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49383>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/