Rainer Stratmann <rainerstratm...@t-online.de>:

> For me a variable is initialised when it passes a procedure/function 
> which has a  var declaration in the parameters.

-- 8< --
procedure Add_2 (var I : Integer);
begin
   I := I + 2;
end;
-- 8< --

If the variable for the parameter I wasn't correctly initialized before, it 
would still contain garbage upon return.


Vinzent.

-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to