So repräsentiert Hibernate.STRING zum Beispiel den string-Typ.
For example, Hibernate.STRING represents the string type.
Strings können explizit in einen anderen String-Typ umgewandelt werden.
Strings can be explicitly cast to a different string type.
Gibt einen String-Typ an, der den Ausgabewert beschreibt.
In diesem Fall erweitert der D-Compiler den Ausgangsausdruck automatisch auf den String-Typ und führt eine Zeichenkettenzuweisung durch.
In this case, the D compiler automatically promotes the source expression to the string type and performs a string assignment.
So beseitigt der String-Typ beispielsweise die Zweideutigkeit des Typs char für den Fall, dass Sie die tatsächlichen Byte einer Zeichenkette verfolgen müssen.
For example, the string type removes the ambiguity of the type char when you need to trace the actual bytes of a string.
Außerdem kann eine Zusammenführung in manchen Fällen nur in eine Richtung erfolgen (z.B. kann ein numerischer Typ in einen String-Typ konvertiert werden, aber nicht umgekehrt).
Also, sometimes a merge is possible only in one direction (for example, a numeric type may be converted to a string type, but not the opposite).
Um die Speicheradresse des Strings zu ermitteln (nützlich, um die gegenwärtige Identität zu ermitteln und zu erkennen, ob zwei unterschiedliche Strings auf den selben Speicherbereich verweisen) habe ich einfach eine fest codierte Typumwandlung aus dem String-Typ in einen Integer-Typ vorgenommen.
To obtain the memory address of the string (useful to determine its actual identity and to see when two different strings refer to the same memory area), I've simply made a hard-coded typecast from the string type to the Integer type.
Zum Beispiel, wenn die Entscheidungen sind von Zahlentyp, der Standardwert ist 0, und wenn die Auswahl von String-Typ sind, ist der Standardwert die leere Zeichenkette ("""").)
For example, if the choices are of Number type, the default value is 0 and if the choices are of String type, the default value is the empty string ("""").)
Auch die Möglichkeit, den String-Typ und kundenspezifische Länge oder Änderung auf Baumwolle oder Schweden Schnur wählen.
Also possibility to choose the string type and custom length or change to cord cotton or Sweden.
Verwenden Sie für Code mit ShortStrings TEncoding zur Verwaltung der Unterschiede zwischen der im aktuellen String-Typ verwendeten UTF16-Zeichenrepräsentation und der 8-Bit-ANSI-Repräsentation des alten ShortStrings.
For code that was using short strings, use TEncoding to manage the difference between the UTF16 character representation used in the current String type and the 8-bit ANSI representation of the old short string.
In Borland's Turbo Pascal und im 16-Bit Delphi ist der typische String-Typ eine Folge von Zeichen mit einem Längen-Byte am Anfang, der die momentane Größe des Strings kennzeichnet.
In Borland's Turbo Pascal and in 16-bit Delphi, the typical string type is a sequence of characters with a length byte at the beginning, indicating the current size of the string.
Wenn es sich bei constantExpression um einen Zeichen-String handelt, ist die deklarierte Konstante mit jedem String-Typ kompatibel.
If constantExpression is a character string, the declared constant is compatible with any string type.
T1 ist ein PAnsiChar, PWideChar, PChar oder ein String-Typ, und der Ausdruck ist eine String-Konstante.
T1 is PAnsiChar, PWideChar, PChar or any string type and the expression is a string constant.