NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 914 - exit(); fails in script editor
exit(); fails in script editor
Status: RESOLVED FIXED
Product: ImageJ
Classification: Unclassified
Component: Scripting
unspecified
PC Mac OS
: P5 enhancement
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2014-08-26 05:12 CDT by jerome
Modified: 2015-04-06 16:08 CDT
3 users (show)

See Also:

Description jerome 2014-08-26 05:12:56 CDT
Hi all,

The exit(); macro function fails in script editor when called with parentheses but no argument, whereas this works in ImageJ. 

exit; // works
exit('message'); // works
exit(); // fails

This also pops up an '[aborted]' result window. This message would be best displayed in the script editor's messages panel.

Sincerely,
Jerome
Comment 1 Curtis Rueden 2015-04-06 16:08:18 CDT
I cannot reproduce in an up-to-date Fiji as of today. All variations described above now work. So I think the issue is resolved. Please reopen if not.