Forum: Cross-Platform-Entwicklung
by himitsu,
15. Mär 2018
Hatte ich zwar schon genannt und wenn man das dann auch noch alles umsetzt, dann kommt in etwa sowas bei raus
for i := Low(string) to High(input) do
begin
if i mod 2 <> Low(string) then
Forum: Cross-Platform-Entwicklung
by himitsu,
15. Mär 2018
Erstmal, in Android/iOS fängt String bei 0 an.
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Zero-based_strings_(Delphi)
http://docwiki.embarcadero.com/RADStudio/Tokyo/de/String-Typen_(Delphi)
Low(string) = 0 auf Android/iOS
Low(string) = 1 auf Windows
Upss, schon beachtet, aber Low() statt IFDFF ist bestimmt schöner.