Previous: 4.67.2.78. SeekEoln procedure To the Table of Contents Next: 4.67.2.80. SetTextBuf procedure
4.67.2.78. SeekEoln procedure Table of Contents 4.67.2.80. SetTextBuf procedure

- 4.67.2.79. -
Table of Contents
4. Standard Units
4.67. System - Built-in routines
4.67.2. System Unit Procedures and Functions
4.67.2.79. SetString procedure


4.67.2.79. SetString procedure

Targets: MS-DOS, OS/2, Win32

System Unit

Sets the contents and length of the given string.

Declaration:
procedure SetString(var S: string; Buffer: PChar; Len: DWORD);
Remarks:
The SetString sets the length indicator character (the character at S[0]) to the value given by Len and then, if the Buffer parameter is not nil, copies Len characters from Buffer into the string starting at S[1]. For a short string variable, the Len parameter must be a value between 0 and 255.


Previous: 4.67.2.78. SeekEoln procedure To the Table of Contents Next: 4.67.2.80. SetTextBuf procedure
4.67.2.78. SeekEoln procedure Table of Contents 4.67.2.80. SetTextBuf procedure

- 4.67.2.79. -