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.

http://www.freepascal.org/docs-html/rtl/system/fillbyte.html
http://www.freepascal.org/docs-html/rtl/system/fillword.html
http://www.freepascal.org/docs-html/rtl/system/filldword.html

(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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to