Page 1 of 1

Backslash in the expression

Posted: Mon Aug 26, 2013 12:17 pm
by LukasT
Hello,
we have problem in using backslash....
We have own functions for using in expressions.... this function for example returns picture data (from application server) from string parameter... and parameter can be some relative path written as string in expression i.e.

Code: Select all

{OurFunctions.GetImageData(".\\temp\\directory\\newTestPicture.jpg")}
Problem is, that in compilation you translate escape sequences using some Replace function, so you replace "\\" with "\" and than on the same position you again replace "\n" with newline, "\t" with tabulator....

... using @"" is useless too....

Re: Backslash in the expression

Posted: Tue Aug 27, 2013 11:47 am
by HighAley
Hello.

Sorry, but we couldn't reproduce your issue.
Could you send us a sample report template which reproduces the issue for analysis.

Thank you.

Re: Backslash in the expression

Posted: Tue Aug 27, 2013 11:53 am
by LukasT
See attached example.....

Re: Backslash in the expression

Posted: Tue Aug 27, 2013 11:38 pm
by Ivan
Hello,

We are working on the problem. We will let you know when the solution is available.

Thank you.

Re: Backslash in the expression

Posted: Thu Aug 29, 2013 8:25 am
by HighAley
Hello.

We have fixed the issue.
The patch will be available in our next prerelease build on Friday.

Thank you.

Re: Backslash in the expression

Posted: Fri Aug 30, 2013 1:01 pm
by LukasT
Hello,
it looks like it is working correctly now...
... so thank you ;-)

Re: Backslash in the expression

Posted: Sat Aug 31, 2013 4:46 am
by Andrew
Hello,

Great!

Have a nice weekend!

Re: Backslash in the expression

Posted: Mon Sep 01, 2014 9:31 am
by LukasT
Hello,
now I see that it is not absolutely ok.... see attached report. You still have problem if string in expression ends with \\"

Re: Backslash in the expression

Posted: Tue Sep 02, 2014 2:35 pm
by HighAley
Hello.

Sorry, for the delay with answer.
We have reproduced your issue and working on the improvement.
We will let you know about result.

Thank you.

Re: Backslash in the expression

Posted: Mon Sep 08, 2014 12:08 pm
by Alex K.
Hello,

The issue is fixed. The fix will be available in teh next prerelease build on this week.

Thank you.