Hallo,
in dem Code für eine kleine Finanzsoftware
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8:
| TYPE t_IBAN = STRING[22];
VAR viban: t_IBAN; check: INTEGER; ... check := strtoint(midstr(viban, 3, 2)); |
erhalte ich von Delphi10.4 folgende Warnungen:
[dcc32 Warnung] USepa.pas(120): W1000 Symbol 'MidStr' ist veraltet: 'Moved to the AnsiStrings unit'
[dcc32 Warnung] USepa.pas(120): W1057 Implizite String-Umwandlung von 'AnsiString' zu 'string'
Demnach müsste STRING[22] ein AnsiString sein, aber der Delphi-Hilfe nach sollte es ein normaler (UNICODE-) String sein.
Das Programm ergibt saubere Ergebnisse.
Hat jemand eine Idee, was der Widerspruch ist?
Viele Grüße
Günter Ackermann