Login  Register

Antwort: Re: Macro language exponential number format?

Posted by Joachim Wesner on Nov 12, 2007; 10:12am
URL: http://imagej.273.s1.nabble.com/4-colour-merge-tp3698028p3698043.html

Hi,

thanx a lot. It´s not that I could not live without it, it´s just a strange
behaviour that I noted when working on macro.
I think/thought that it should accept exponential format, as the macro
language in all other respect is already very similar to basic Java or C.

Wayne has already supplied me with a new IJ snapshot that has the patch
built in, great.

I wish other software would have such a quick bugfix cycle, excellent!

Sincerely


Joachim




                                                                           
             Johannes                                                      
             Schindelin                                                    
             <Johannes.Schinde                                          An
             [hidden email]>                [hidden email]                
             Gesendet von:                                           Kopie
             ImageJ Interest                                              
             Group                                                   Thema
             <[hidden email].          Re: Macro language exponential    
             GOV>                       number format?                    
                                                                           
                                                                           
             11.11.2007 21:28                                              
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                    
              ImageJ Interest                                              
                   Group                                                  
             <[hidden email].                                            
                   GOV>                                                    
                                                                           
                                                                           




Hi,

On Sun, 11 Nov 2007, Joachim Wesner wrote:

> working with my copy of ImageJ 1.38x i just discover that the macro
> language does not accept statements like
>
> a = 5e-3 ;
>
> or
> a = 5.e-3;
> or
>  a = 5.0e-3;
>
> (a = 0.005 works, however)
>
> Am I totally confused here? Is that a "feature" that only recently crept
> in?

No, this is a long standing shortcoming.  I just fixed it in ImageJA, and
will send Wayne a patch.  If you are interested in the patch, see
http://repo.or.cz/w/imageja.git?a=commitdiff;h=2ff92a2c562bacce89f51a20171006914ba9d615
.

Ciao,
Dscho



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________