Preferred method for "Assignment by value"

castironpi at gmail.com castironpi at gmail.com
Wed Apr 16 14:26:28 CEST 2008


On Apr 15, 3:51 pm, sturlamolden <sturlamol... at yahoo.no> wrote:
> On Apr 15, 8:19 pm, hall.j... at gmail.com wrote:
>
> > Coming from VBA I have a tendency to think of everything as an
> > array...
>
> Coding to much in Visual Basic, like Fortran 77, is bad for your mind.

The distinction you're looking for is:

VB:
   set a= collection
   a= collection

Every assignment is a 'set'.



More information about the Python-list mailing list