| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Fill memory region with certain character
Source position: systemh.inc line 738
| procedure FillChar( | 
| var x; | 
| count: SizeInt; | 
| Value: Byte | 
| ); | 
| var x; | 
| count: SizeInt; | 
| Value: Boolean | 
| ); | 
| var x; | 
| count: SizeInt; | 
| Value: Char | 
| ); | 
Fillchar fills the memory starting at X with Count bytes or characters with value equal to Value.
No checking on the size of X is done.
| 
 | Fill memory region with 16-bit pattern | |
| 
 | Move data from one location in memory to another | |
| 
 | Fill memory region with 8-bit pattern | |
| 
 | Fill memory region with 32-bit pattern | 
Program Example25; { Program to demonstrate the FillChar function. } Var S : String[10]; I : Byte; begin For i:=10 downto 0 do begin { Fill S with i spaces } FillChar (S,SizeOf(S),' '); { Set Length } SetLength(S,I); Writeln (s,'*'); end; end.