From: "Iñaki Baz Castillo" Date: 2008-03-30T08:03:08+09:00 Subject: Extrange behaviour using "if XXX ..." and "XXX if ..." Hi, note the difference in those both cases: a) if a="QWEQWE" : a end => "QWEQWE" b) a if a="QWEQWE" NameError: undefined local variable or method `a' for main:Object I know that the behaviour in a) is no recommended and maybe deprecated in a future, but why it works in a) and not in b) ? Thanks. -- Iñaki Baz Castillo