[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'System' (#rtl) |
Fill memory region with certain character
Source position: line 0
procedure FillChar( |
var x; |
count: SizeInt; |
Value: Boolean |
); |
var x; |
count: SizeInt; |
Value: Char |
); |
var x; |
count: SizeInt; |
Value: Byte |
); |
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.
No notes exist for this page yet.