Login  Register

Re: open files error

Posted by Michael Schmid on Jun 10, 2009; 1:48pm
URL: http://imagej.273.s1.nabble.com/open-files-error-tp3692197p3692200.html

Hi,

it's like in Java or C++:

You can use double slashes for comments:  // a comment till the end  
of the line
An alternative is: /* also a comment */

Funny that I did not find this in the documentation on the ImageJ web  
site.

Michael
________________________________________________________________

On 10 Jun 2009, at 15:31, vivace219 wrote:

> Hi Thanks. Actually I just changed the file name to get rid of the  
> space in
> "MicroCT Images." However, does anyone know if you make comments in  
> the
> image j macros editing interface? I'd like to have some of the print
> statements I wrote to continue to exist but just be commented out  
> so they
> won't run unless I decide to un-comment them and run them. Thanks.
>
> Johannes Schindelin wrote:
>>
>> Hi,
>>
>> On Thu, 4 Jun 2009, vivace219 wrote:
>>
>>> Hi. I'm currently trying to write a macros script for Image J  
>>> that would
>>> read the .rawl files for each folder. The code is below.
>>>
>>> file1head = "K:\\MicroCT Images\\5-25-09\\C00";
>>
>> I think the space is the culprit.  You need to enclose filename in
>> brackets just like you did it with the type parameter:
>>
>>> file1tail = ".0000.rawl image=[16-bit Signed] width=512 height=512
>>> offset=0
>>
>> Hth,
>> Dscho
>>
>>
>