Hi,

I realized when I use vbscript,

"if (4<5 And 4>20) then" is not working good, "if (4<5) And (4>20) then" is OK,

also same :

dim a

a=4

"if (a<5 And a>20) then" is not working good, "if (a<5) And (a>20) then" is OK,

This is a bug or ?

Hi,

I realized when I use vbscript,

"if (4<5 And 4>20) then" is not working good, "if (4<5) And (4>20) then" is OK,

also same :

dim a

a=4

"if (a<5 And a>20) then" is not working good, "if (a<5) And (a>20) then" is OK,

This is a bug or ?

That's by design. It follows the same Pascal convention, which is "and" operator has higher precedente than "<" and ">" operators.

This feature will not be implemented.