which language allows you to change an argument's value?

Michael Fesser netizen at gmx.de
Sun Sep 30 15:15:05 EDT 2007


.oO(Summercool)

>I think in Pascal and C, we can never have an
>argument modified unless we explicitly allow it, by passing in the
>pointer (address) of the argument.

Pascal also allows passing by reference, which is done with the keyword
'var' when declaring the function parameters. Object Pascal also allows
const parameters.

Micha



More information about the Python-list mailing list