Hi Pradeep,
If that were C# it would be fine. In VB you've got a single assignment (to
a1) or a very long Boolean expression.
'True, False, True, False, True, False, True!
a1 = ((((((a2=a3)=a4)=a5)=a6)=a7)=a8)=0 'True
'True, False, True, False, True, False!
a1 = (((((a2=a3)=a4)=a5)=a6)=a7)=0 'False
Regards,
Fergus
MVP [Windows Start button, Shutdown dialogue]