Rozhodl jsem se, že zkusím nejakou sérii malých clánku o drobnostech. První bude spíše cástecne nedokumentované chování.
System.Copy
function Copy(S: ; Index: Integer; Count: Integer): string;z helpu:
"When S is a dynamic array, you can omit the Index and Count parameters and Copy copies the entire array."takže
var s: string; s2: string;begin s := 'Hello cool'; s2 := Copy
Weiterlesen...