Originally posted by Jim Yingst:
Sameer, is the ':' intentional in "x:= 0"? If so, is it intentional that all 3 other expressions do not include a ':'?
No it was not intentional it was just a typing mistake.
There are few languages where comparison operator '==' will not work for eg: VB 6.0
The context can be
In the case that the first code fragment is substituted for the ellipsis, the effect is to set z to 1, while in the second case z gets set to 0.
[ February 22, 2006: Message edited by: Sameer Jamal ]