[fpc-pascal] Array initialization

Marco van de Voort marcov at stack.nl
Wed Mar 18 18:38:22 CET 2009

In our previous episode, Jürgen Hestermann said:
> >> FillChar(Values,SizeOf(Values),0)
> > That worked.
> > However, for an integer is fillword better?
> A "fillword" procedure does not exist.


(byte is the same as char)

> A similar procedure is move, which copies bytes from one memory location 
> to another (again both determined by variables) also without type and 
> range checking.

Compare* and index* functions also belong in this category. In general you
could say they are memory-block operations.

More information about the fpc-pascal mailing list