Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Filesize von PC zu PC Const ?! (https://www.delphipraxis.net/113305-filesize-von-pc-zu-pc-const.html)

Delphiturbo 6. Mai 2008 12:22

Re: Filesize von PC zu PC Const ?!
 
Zitat:

Zitat von Phoenix
Variablen vorher initialisieren?
Oder noch besser: Durch den Code gar nicht durchlaufen wenn die INI-Datei nicht geladen wurde? Das wäre sauberer...

Danke
gelöst so :
Delphi-Quellcode:
if Not FileExists('Myinifile.ini') then
S4:='0';
...
Es erscheint jetzt keine Fehlermeldung wenn die Datei nicht vorhanden ist :thumb:


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:54 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz