[Tutor] "=" invalid syntax ?
Daniel Ehrenberg
littledanehren at yahoo.com
Mon Feb 2 12:52:13 EST 2004
orbitz at ezabel.com wrote:
> I just learned this recently, but if you say = is a
> statement then you
> would imagine:
>
> a = b = 2 to not work. = is actually special cased
> for this to work.
> however
> a = (b = 2) does not work. There is some 'magic'
> some people might say
> to =, but I think a = b = .. is the only excpetion
> to the = is a
> statement operator rule.
Yeah, it's just an exception to the rule.
Daniel Ehrenberg
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
More information about the Tutor
mailing list