|
From: SourceForge.net <no...@so...> - 2003-09-09 03:38:11
|
Bugs item #802912, was opened at 2003-09-09 15:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=802912&group_id=588 Category: macros Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adrian Baker (adrian_baker) Assigned to: John Gellene (jgellene) Summary: command line invoked macro cannot access args Initial Comment: When invoking a script from the command line (- run=xxx.bsh) in 4.2pre4, the special beanshell variable 'args' (containing the command line arguments) is no longer accessible within the macro. The following snippet of my macro worked ok in 4.1final, when invoked from the command line : if(args.length < 3) { return; } But now args is not recognised, and a 'Class or variable not found' error results when running this script. Using jEdit4.2pre4, java 1.4.2 on Linux ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=802912&group_id=588 |