Login  Register

Re: double back slash bugs

Posted by dscho on Jan 17, 2009; 11:05pm
URL: http://imagej.273.s1.nabble.com/Calling-UnwarpJ-plugin-fails-Windows-issue-tp3694025p3694027.html

Hi,

On Sat, 17 Jan 2009, dpoburko wrote:

>   Did you ever find a way around this bug. I have run into the same problem
> if run("Image Sequence..."...
> It only works with double backslashes.

You can use forward slashes instead; even Windows understands that now.

And yes, it is my design.  The backslash is traditionally the escape
character: if you want to add a newline in a string, you say "\n".  If you
have to add a double quote, you have to escape it with a backslash
(otherwise, you wold end the string instead).  And if you want a
backslash, you need to escape it either, obviously.

Hth,
Dscho