call by reference howto????

sturlamolden sturlamolden at yahoo.no
Sat Mar 15 12:02:04 EDT 2008


On 13 Mar, 09:22, Antoon Pardon <apar... at forel.vub.ac.be> wrote:

> Whatever python has for a calling convention, it is close enough that
> naming it "call by reference" gives people a reasonable idea of what
> is going on.

Only to the extent that many mistake passing Java or C# reference
types for "call-by-reference".

"Call by reference" is the calling convention used by Fortran, Pascal
and Visual Basic 6. If you don't know any of these languages, chances
are you don't understand what "call by reference" really means.











More information about the Python-list mailing list