summaryrefslogtreecommitdiffstats
path: root/kjsembed/tests/test_args.js
blob: 5915cbf1ccbb2401efbb8246cb00806a48969d0b (plain)
1
2
3
4
5
6
7
8
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();