- 4.67.2.30. -
Table of Contents
4. Standard Units
4.67. System - Built-in routines
4.67.2. System Unit Procedures and Functions
4.67.2.30. FillChar procedure
4.67.2.30. FillChar procedure
Targets: MS-DOS, OS/2, Win32
System Unit
Fills a specified number (Count) of contiguous bytes
with a specified value (can be type Byte or Char).
Declaration:
procedure FillChar(var X; Count: Longint; Ch: Char);
Remarks:
FillChar does not perform range checking and stores Ch
as contiguous bytes starting from X for Count
length. If used on strings types, set the length byte after calling
FillChar.
Note that Count is not limited to 65,535 (64K) bytes.
- 4.67.2.30. -