Fantomas writes:
As far as I know, global variables are initialised with zeros when an application starts.
Gives a warning when I don't initialize it. split.pas(31,55) Warning: Variable "Values" does not seem to be initialized
FillChar(Values,SizeOf(Values),0)
That worked. However, for an integer is fillword better? _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal