diff options
Diffstat (limited to 'kjsembed/tests/test_args.js')
-rwxr-xr-x | kjsembed/tests/test_args.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kjsembed/tests/test_args.js b/kjsembed/tests/test_args.js new file mode 100755 index 00000000..5915cbf1 --- /dev/null +++ b/kjsembed/tests/test_args.js @@ -0,0 +1,9 @@ +#!/usr/local/kde/bin/kjscmd + + +for ( var i = 0 ; i < application.args.length ; i++ ) { + println( 'Arg' + i + ': ' + application.args[i] ); +} + +part.view().show(); +application.exec(); |