Is it possible to pass command line arguments to a Javascript program on the command line?
E.g.,: [EMAIL PROTECTED]:/opt/shootout/shootout/bench/nsieve$ /opt/local/bin/ testkjs nsieve.kjs 3 [9074] nsieve.kjs line 32: ReferenceError: Can't find variable: arguments Could not open file: 3 [EMAIL PROTECTED]:/opt/shootout/shootout/bench/nsieve$ /opt/local/bin/ testkjs nsieve.kjs -- 3 [9076] nsieve.kjs line 32: ReferenceError: Can't find variable: arguments Could not open file: -- [EMAIL PROTECTED]:/opt/shootout/shootout/bench/nsieve$ Looking over the 'testkjs.cpp' sources, it doesn't appear that you can pass arguments to the javascript program. Is there some way to do so? Or should I modify the testkjs.cpp sources to add the ability to do this? Thanks, -Brent _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev