![]() |
Re: Format-Strings
...dieser threat bekommt eine eigendynamic :wink:, lustig, mein problem hatte sich ^ schon gelöst :-D
|
Re: Format-Strings
Zitat:
|
Re: Format-Strings
...also bisher bin ich noch nicht an die grenzen von format() gekommen, was sind denn die großen unterschiede zu c? (da ich c nicht kenne)
|
Re: Format-Strings
Eine der nervigeren Sachen ist das Delphi "%03d" nicht kennt.
Die Null bedeutet das nicht mit Leerzeichen sondern mit Vornullen expandiert wird. Zumindest die Delphi-Hilfe sagt nichts ueber "%X" aus was in C bedeutet das 'A'..'F' genommen wird waehrend "%x" 'a'..'f' benutzt. |
Re: Format-Strings
Zitat:
Irgendwann in näherer Zukunft wird sich wohl jeder damit beschäftigen ( müssen ). Zitat:
|
Re: Format-Strings
Und wo bleiben dann die bisherigen Delphi-Entwickler?
Es nuetzt ja nichts wenn .net alles bietet, aber das eigene Delphi-Projekt durchhaengt weil man am Format() verzweifelt. |
Re: Format-Strings
Zitat:
Zitat:
|
Re: Format-Strings
Meine urspruengliche Beschwerde war das Format strings nicht voellig mit C kompatibel sind. "%03d" ist eben so ein Fall.
"%X" geht mit Format, aber die Dokumentation laesst sehr zu wuenschen uebrig. |
Re: Format-Strings
Zitat:
Ich kann mich aber noch an Luckies DLL-Export erinnern. Er hat dort im Original als Format "%p" benutzt, um eine Zeigeradresse anzuzeigen. Allerdings war das OS-abhängig (s. PSDK), aber ein
Delphi-Quellcode:
tat´s dann auch. ;)
Format('%.8X', [Integer(DLLInfo.FuncAddresses[i])]);
|
Re: Format-Strings
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:13 Uhr. |
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