With extended syntax enabled ({$X+}), you can assign a string constant to a statically allocated zero-based character array.
Hier einige Beispiele für die Deklaration von Typen, die nullterminierte Strings speichern Wenn die erweiterte Syntax aktiviert ist ({$X+}), können Sie einem statisch zugewiesenen, nullbasierten Zeichen-Array eine String-Konstante zuweisen.
See Type Compatibility and Identity (Delphi). An array type of the form array[0... x] of Char is called a zero-based character array.
Ein Typ ist PAnsiChar oder PWideChar und der andere ist ein nullbasiertes Zeichen-Array der Form array[0... n] of PAnsiChar oder PWideChar.
Other results
Zero-based character arrays are used to store null-terminated strings and are compatible with PChar values.
Nullbasierte Zeichen-Arrays werden zum Speichern von nullterminierten Strings verwendet und sind mit PChar-Werten kompatibel.
Zero-based character arrays often represent null-terminated strings, and for this reason string constants can be used to initialize character arrays.
When enabled, Delphi strings can be assigned to zero-based character arrays (array[0... X] of Char), which are compatible with PChar types. Default = True
Wenn diese Option aktiviert ist, können Delphi-Strings nullbasierten Zeichen-Arrays (array[0... X] of Char) zugewiesen werden, die mit PChar-Typen kompatibel sind.
A null-terminated string is a zero-based array of characters that ends with NUL (#0); since the array has no length indicator, the first NUL character marks the end of the string.
Ein nullterminierter String ist ein Zeichen-Array, dessen Index bei 0 beginnt und das mit NULL (#0) endet. Da das Array keine Längenangabe hat, wird das Ende des Strings durch das erste NULL-Zeichen markiert.
Copies the characters in this instance to a Unicode character array.
CopyTo copies a portion of a string to a character array.
CopyTo Kopiert einen Teil einer Zeichenfolge in ein Zeichenarray.
A character array containing the name of the configuration database.
Ein Zeichen-Array mit dem Namen der Konfigurationsdatenbank.
The file name and path is stored in the character array fname.
Der Dateiname und der Weg wird im Buchstabe Reihe fname gespeichert.
First, they fill the window's character array with white spaces.
Zuerst füllen sie den Zeichenbereich des Fensters mit nicht sichtbaren Zeichen.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.