sumedha rao wrote: when you use "=" it means you are actually SETTING it to true whereas when you use "==" you are COMPARING it to true
So you have analysed it yourself
And its always better to use
Update: The discussions towards the end of
this forum post are related to your query.