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 838 - problem declaring variables starting with "e" in line one (IJ1 Macro)
problem declaring variables starting with "e" in line one (IJ1 Macro)
Status: NEW
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
Macintosh Mac OS
: P4 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2014-07-07 04:51 CDT by Andrew Clark
Modified: 2014-07-07 04:51 CDT
1 user (show)

See Also:

Description Andrew Clark 2014-07-07 04:51:24 CDT
Just updated and found a strange bug. If run the following as an IJ1 Macro from the editor:

foo = "bar";
print(foo);

there is (of course) no problem. However, if I run

eoo = "bar";
print(eoo)

I get the following error: " Statement cannot begin with <=> in line 2. / <=> "bar"; "

I get this error for any variable beginning with the letter "e". It runs fine with variables starting with any other letter. If I put something valid in front of this statement (so that eoo="bar" is not on line 1), it runs fine. For example:

print("foo")
eoo = "bar";
print(eoo);

runs with no problem.

Hope it's any easy fix. Strange bug. Kind of funny though.

cheers,
Andy

Information about your version of Java:

  os.arch => x86_64
  os.name => Mac OS X
  os.version => 10.9.3
  java.version => 1.6.0_65
  java.vendor => Apple Inc.
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_65-b14-462-11M4609
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 20.65-b04-462
  java.vm.vendor => Apple Inc.
  java.vm.info => mixed mode
  java.awt.graphicsenv => apple.awt.CGraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.6
  sun.cpu.endian => little
  sun.desktop => null
  file.separator => /

The up-to-date check says: REMIND_LATER

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: null
  imagej.dir => /Applications/Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20140703004308)
Fiji: http://fiji.sc/update/ (last check:20140702174334)

Files not up-to-date:
  7ecaf631 (OBSOLETE_UNINSTALLED) 20140611184202 jars/jruby-complete-1.7.11.jar
  24d47d70 (OBSOLETE_UNINSTALLED) 20140611184202 jars/junit-4.8.1.jar