Declaration ​
pascal
procedure FillWord(var X; Count: Cardinal; Value: Longword);Parameters ​
| Parameter | Type | Description |
|---|---|---|
X | var | The starting destination memory location to fill. |
Count | Cardinal | Number of 16-bit Word elements (2-byte blocks) to write. |
Value | Longword | 16-bit value stored in the lower word of Value to write into each element. |
Description ​
FillWord fills a block of memory with 16-bit Word values. The lower 16 bits of Value are copied repeatedly into Count consecutive 16-bit word slots starting at memory location X.