Am 18.02.2016 um 21:38 schrieb Jonas Maebe:
all global variables are always zeroed.

but it is better to not rely on it because

Local variables are never zeroed

and it is not uncommon that a part from main gets moved to a procedure, and all of a sudden you must add commands to initialize the variables. It is better to do it always, to avoid surprises.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to