Posted by Michael Fesser on 09/30/07 19:15
..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
Navigation:
[Reply to this message]
|