AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein SysUtils.DecimalSeparator XE2 auf XE10.1
Thema durchsuchen
Ansicht
Themen-Optionen

SysUtils.DecimalSeparator XE2 auf XE10.1

Ein Thema von bernhard_LA · begonnen am 18. Sep 2017 · letzter Beitrag vom 18. Sep 2017
Antwort Antwort
bernhard_LA

Registriert seit: 8. Jun 2009
Ort: Bayern
1.121 Beiträge
 
Delphi 11 Alexandria
 
#1

SysUtils.DecimalSeparator XE2 auf XE10.1

  Alt 18. Sep 2017, 12:05
unser code bringt beim Umstieg von DELPHI XE2 auf DELPHI XE10.1 jetzt in dieser unit eine Fehlermeldung :



Delphi-Quellcode:
uses
    FileCtrl, Forms, Dialogs, Winapi.Windows, Winapi.Messages, System.SysUtils,
    System.Variants, System.Classes, Vcl.Graphics, Generics.Collections,
    Vcl.Controls, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Menus, Vcl.ExtDlgs, inifiles,



 if System.SysUtils.DecimalSeparator = ',then
     begin

     end;

[dcc64 Error] Unit_TMeter.pas(299): E2003 Undeclared identifier: 'DecimalSeparator'



Was hat sich bei SysUtils.DecimalSeparator beim Übergang auf XE10 geändert ?
  Mit Zitat antworten Zitat
Benutzerbild von tshubaka
tshubaka

Registriert seit: 11. Sep 2009
Ort: Neckertal
35 Beiträge
 
Delphi 10.4 Sydney
 
#2

AW: SysUtils.DecimalSeparator XE2 auf XE10.1

  Alt 18. Sep 2017, 12:21
hallo,
neu ist das so:

FormatSettings.DecimalSeparator;

grüsse
Peter
  Mit Zitat antworten Zitat
bernhard_LA

Registriert seit: 8. Jun 2009
Ort: Bayern
1.121 Beiträge
 
Delphi 11 Alexandria
 
#3

AW: SysUtils.DecimalSeparator XE2 auf XE10.1

  Alt 18. Sep 2017, 18:54
solved & Danke !
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:28 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz