Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_LowLevel🞂FillWordProcedure

FillWord

Fills a contiguous memory block with a specified 16-bit Word value.

Declaration ​

pascal
procedure FillWord(var X; Count: Cardinal; Value: Longword);

Parameters ​

ParameterTypeDescription
XvarThe starting destination memory location to fill.
CountCardinalNumber of 16-bit Word elements (2-byte blocks) to write.
ValueLongword16-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.

See also ​