annotate scripts/miscellaneous/isdeployed.m @ 14138:72c96de7a403 stable

maint: update copyright notices for 2012
author John W. Eaton <jwe@octave.org>
date Mon, 02 Jan 2012 14:25:41 -0500
parents 26a6435857bc
children f3d52523cde1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14138
72c96de7a403 maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents: 11559
diff changeset
1 ## Copyright (C) 2012 John W. Eaton
11559
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 ##
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 ## This file is part of Octave.
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 ##
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 ## Octave is free software; you can redistribute it and/or modify it
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 ## under the terms of the GNU General Public License as published by
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 ## the Free Software Foundation; either version 3 of the License, or (at
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 ## your option) any later version.
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 ##
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 ## Octave is distributed in the hope that it will be useful, but
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 ## General Public License for more details.
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 ##
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 ## You should have received a copy of the GNU General Public License
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 ## along with Octave; see the file COPYING. If not, see
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 ## <http://www.gnu.org/licenses/>.
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 ## -*- texinfo -*-
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 ## @deftypefn {Function File} {} isdeployed ()
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 ## Return true if the current program has been compiled and is running
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 ## separately from the Octave interpreter and false if it is running in
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 ## the Octave interpreter. Currently, this function always returns
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 ## false in Octave.
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 ## @end deftypefn
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 function retval = isdeployed ()
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 retval = false;
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 endfunction
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30
26a6435857bc provide isdeployed function
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 %!assert (isdeployed (), false)