BizTalk Server Orchestration - AND-Operator in loop-expression

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > January 2005 > AND-Operator in loop-expression





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author AND-Operator in loop-expression
Thomas

2005-01-23, 5:49 pm

Hi,

is it possible to connect two boolean expressions in the loop-condition?
Because I have to have two conditions that have to be true, to leave the loop.
For example:

MyMessage.quantity > 100 AND MyMessage.price < 10

Only if these two conditions are true, the loop should be left. The keyword
"AND" or an "&&" doesn´t work so far. Is there a possibility?

Thanks
Thomas

Nabeel Prior

2005-01-23, 5:49 pm

Have you tried: (MyMessage.quantity > 100) && (MyMessage.price < 10)

If this doesn't work, what is the error that you get?

--

Kind Regards,

Nabeel Prior
Web: http://www.brainjar.co.za
Blog: http://www.brainjar.co.za/blog.aspx


"Thomas" <Thomas@discussions.microsoft.com> wrote in message
news:86871702-8716-44D4-BA5C-7E233021EFCA@microsoft.com...
> Hi,
>
> is it possible to connect two boolean expressions in the loop-condition?
> Because I have to have two conditions that have to be true, to leave the
> loop.
> For example:
>
> MyMessage.quantity > 100 AND MyMessage.price < 10
>
> Only if these two conditions are true, the loop should be left. The
> keyword
> "AND" or an "&&" doesn´t work so far. Is there a possibility?
>
> Thanks
> Thomas
>



Thomas

2005-01-23, 5:49 pm

Nebeel,

thanks for your anwer.
Yes I tried the "&&" version and different errors appear with this.
Now I have the solution with an expression shape. There I can use the
if-clauses and the &&-Operator. But this is only only an avoidance of the
real problem. I cannot believe that this cannot be solved with the
loop-expression.

Thomas

"Nabeel Prior" wrote:

> Have you tried: (MyMessage.quantity > 100) && (MyMessage.price < 10)
>
> If this doesn't work, what is the error that you get?
>
> --
>
> Kind Regards,
>
> Nabeel Prior
> Web: http://www.brainjar.co.za
> Blog: http://www.brainjar.co.za/blog.aspx
>
>
> "Thomas" <Thomas@discussions.microsoft.com> wrote in message
> news:86871702-8716-44D4-BA5C-7E233021EFCA@microsoft.com...
>
>
>

Nabeel Prior

2005-01-25, 5:50 pm

Thomas, I tested this and it works fine for me - do you have a specific
error that was generated when you did this? I know you have moved on, but I
would like to resolve this for future reference.

--

Kind Regards,

Nabeel Prior
Web: http://www.brainjar.co.za
Blog: http://www.brainjar.co.za/blog.aspx


"Thomas" <Thomas@discussions.microsoft.com> wrote in message
news:5CF2D97D-FF44-46C3-94BE-4F58A9626E28@microsoft.com...[vbcol=seagreen]
> Nebeel,
>
> thanks for your anwer.
> Yes I tried the "&&" version and different errors appear with this.
> Now I have the solution with an expression shape. There I can use the
> if-clauses and the &&-Operator. But this is only only an avoidance of the
> real problem. I cannot believe that this cannot be solved with the
> loop-expression.
>
> Thomas
>
> "Nabeel Prior" wrote:
>


Thomas

2005-01-26, 7:47 am

nabeel,

i´m sorry, but unfortunately i cannot reconstruct my error. I tried an
imagined && clause in the loop-expression and there was no error. Maybe I had
just a simple syntax-error. I don´t know. I´m sorry that I cannot help you

thomas

"Nabeel Prior" wrote:

> Thomas, I tested this and it works fine for me - do you have a specific
> error that was generated when you did this? I know you have moved on, but I
> would like to resolve this for future reference.
>
> --
>
> Kind Regards,
>
> Nabeel Prior
> Web: http://www.brainjar.co.za
> Blog: http://www.brainjar.co.za/blog.aspx
>
>
> "Thomas" <Thomas@discussions.microsoft.com> wrote in message
> news:5CF2D97D-FF44-46C3-94BE-4F58A9626E28@microsoft.com...
>
>
>

Nabeel Prior

2005-01-26, 5:54 pm

No problem - if you do get it again - let me know

--

Kind Regards,

Nabeel Prior
Web: http://www.brainjar.co.za
Blog: http://www.brainjar.co.za/blog.aspx


"Thomas" <Thomas@discussions.microsoft.com> wrote in message
news:B868B517-1052-481D-9764-E740B89704B2@microsoft.com...[vbcol=seagreen]
> nabeel,
>
> i´m sorry, but unfortunately i cannot reconstruct my error. I tried an
> imagined && clause in the loop-expression and there was no error. Maybe I
> had
> just a simple syntax-error. I don´t know. I´m sorry that I cannot help you
>
> thomas
>
> "Nabeel Prior" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com