[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37330] desktop() function
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #37330] desktop() function |
Date: |
Wed, 14 Aug 2013 15:36:37 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0 |
Follow-up Comment #10, bug #37330 (project octave):
I think we're all in agreement the only thing this function should do in
Octave is tell whether the GUI is running for compatibility.
The proposed script that Guillaume attached treats zero args as an error,
regardless of if the GUI is running. I'd even say treat more than one arg as
an error.
if (nargin != 1)
print_usage ();
elseif (! strcmpi (varargin{1}, "-inuse"))
error ("desktop: invalid argument");
endif
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37330>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37330] desktop() function, Guillaume, 2013/08/13
- [Octave-bug-tracker] [bug #37330] desktop() function, Rik, 2013/08/13
- [Octave-bug-tracker] [bug #37330] desktop() function, Guillaume, 2013/08/14
- [Octave-bug-tracker] [bug #37330] desktop() function, John W. Eaton, 2013/08/14
- [Octave-bug-tracker] [bug #37330] desktop() function,
Mike Miller <=
- [Octave-bug-tracker] [bug #37330] desktop() function, Guillaume, 2013/08/14
- [Octave-bug-tracker] [bug #37330] desktop() function, Guillaume, 2013/08/15
- [Octave-bug-tracker] [bug #37330] desktop() function, Rik, 2013/08/16
- [Octave-bug-tracker] [bug #37330] desktop() function, Rik, 2013/08/20