Mercurial > hg > octave-lyh
annotate test/classes/@Gork/gark.m @ 16215:6fe6ac8bbfdb
test: Remove trailing spaces from ends of lines in test/ directory.
* test/bug-31371.tst, test/bug-36025/@testclass/testclass.m,
test/build-sparse-tests.sh,
test/classes/@CPrecedenceTester2/CPrecedenceTester2.m,
test/classes/@CPrecedenceTester3/CPrecedenceTester3.m,
test/classes/@Cork/click.m, test/classes/@Dork/Dork.m,
test/classes/@Dork/display.m, test/classes/@Dork/gack.m,
test/classes/@Gork/cork.m, test/classes/@Gork/gark.m,
test/classes/@Gork/subsasgn.m, test/classes/@Pork/Pork.m,
test/classes/@Pork/gurk.m, test/classes/@Snork/gick.m,
test/classes/@Spork/geek.m, test/error.tst, test/func.tst, test/index.tst,
test/io.tst, test/line-continue.tst, test/prefer.tst, test/switch.tst,
test/system.tst, test/try.tst: Remove trailing spaces from
ends of lines in test/ directory.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 07 Mar 2013 10:02:13 -0800 |
parents | b1283d4c06c2 |
children |
rev | line source |
---|---|
16213
b1283d4c06c2
test: Use Octave coding standards for scripts in test/ directory.
Rik <rik@octave.org>
parents:
13192
diff
changeset
|
1 function out = gark (in, val) |
9381
f9ab19428cd8
* run-octave.in: Exclude @-files from path. Remove CVS exclusions.
Robert T. Short <octave@phaselockedsystems.com>
parents:
diff
changeset
|
2 |
16215
6fe6ac8bbfdb
test: Remove trailing spaces from ends of lines in test/ directory.
Rik <rik@octave.org>
parents:
16213
diff
changeset
|
3 if (nargin == 1) |
9381
f9ab19428cd8
* run-octave.in: Exclude @-files from path. Remove CVS exclusions.
Robert T. Short <octave@phaselockedsystems.com>
parents:
diff
changeset
|
4 out = in.gark; |
f9ab19428cd8
* run-octave.in: Exclude @-files from path. Remove CVS exclusions.
Robert T. Short <octave@phaselockedsystems.com>
parents:
diff
changeset
|
5 else |
f9ab19428cd8
* run-octave.in: Exclude @-files from path. Remove CVS exclusions.
Robert T. Short <octave@phaselockedsystems.com>
parents:
diff
changeset
|
6 in.gark = val; |
f9ab19428cd8
* run-octave.in: Exclude @-files from path. Remove CVS exclusions.
Robert T. Short <octave@phaselockedsystems.com>
parents:
diff
changeset
|
7 out = in; |
f9ab19428cd8
* run-octave.in: Exclude @-files from path. Remove CVS exclusions.
Robert T. Short <octave@phaselockedsystems.com>
parents:
diff
changeset
|
8 end |
16213
b1283d4c06c2
test: Use Octave coding standards for scripts in test/ directory.
Rik <rik@octave.org>
parents:
13192
diff
changeset
|
9 |
9381
f9ab19428cd8
* run-octave.in: Exclude @-files from path. Remove CVS exclusions.
Robert T. Short <octave@phaselockedsystems.com>
parents:
diff
changeset
|
10 end |