From: Trevor Andrade Date: 2005-01-09T08:15:46+09:00 Subject: Re: Type inference in ruby That example was just intended to demonstrate the difference between the two definition of multiple assignment. I wasn't meant to do something.. -----Original Message----- From: Alexander Kellett [mailto:ruby-lists@lypanov.net] Sent: Saturday, January 08, 2005 5:20 PM To: ruby-talk ML Subject: Re: Type inference in ruby On Jan 8, 2005, at 9:53 PM, Trevor Andrade wrote: > I think was a bit ambiguous in my email so let me make myself clear. > The > term multiple assignment is used in two situation or at least I use it > in > two situations. In one situation a variable is assigned to and then > assigned to again. In the other situation, two variable are assigned > to at > the same time. Both these situations are called multiple assignment. > I am > referring to the first situation. I believe you are referring to the > second. I have no problem with the second situation. It is the first > that > I believe is unnecessary. Unless I am missing something and the two > kinds > of multiple assignment are some how related. having reread this i must say i'm greatly confused why would anyone want to use x = 1 x = 2 ? or u mean constants in particular? a very confused Alex ;)