comparison scripts/miscellaneous/inputname.m @ 19630:0e1f5a750d00

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:24:46 -0500
parents 23519ad614da 446c46af4b42
children 4197fc428c7d
comparison
equal deleted inserted replaced
19626:37d37297acf8 19630:0e1f5a750d00
54 ## <test> 54 ## <test>
55 ## 55 ##
56 ## To test inputname, I need a function context invoked 56 ## To test inputname, I need a function context invoked
57 ## with known parameter names. So define a couple of 57 ## with known parameter names. So define a couple of
58 ## shared parameters, et voila!, the test is trivial. 58 ## shared parameters, et voila!, the test is trivial.
59 59
60 %!shared hello, worldly 60 %!shared hello, worldly
61 %!assert (inputname (1), "hello") 61 %!assert (inputname (1), "hello")
62 %!assert (inputname (2), "worldly") 62 %!assert (inputname (2), "worldly")
63 63
64 %!function r = foo (x, y) 64 %!function r = foo (x, y)