next up previous contents index
Next: Flush Up: Functions and Procedures Previous: Fillchar

Fillword

   

Declaration:

Procedure Fillword (Var X;Count : Longint;Value : Word); ;

Description:

Fillword fills the memory starting at X with Count words with value equal to Value.

Errors:

No checking on the size of X is done.

See also:

Fillword, Move

Example
Program Example76;

{ Program to demonstrate the FillWord function. }

Var W : Array[1..100] of Word;

begin
  { Quick initialization of array W }
  FillWord(W,100,0);
end.



Michael Van Canneyt
Thu Sep 10 14:02:43 CEST 1998