Delphi-PRAXiS
Seite 10 von 10   « Erste     8910   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Die "richtige" Sourcecode Formatierung? (https://www.delphipraxis.net/189924-die-richtige-sourcecode-formatierung.html)

Mikkey 13. Aug 2016 09:58

AW: Die "richtige" Sourcecode Formatierung?
 
Zitat:

Zitat von jaenicke (Beitrag 1344843)
In Delphi mault der Compiler nur, wenn du die Parameter als const deklarierst. Ansonsten darfst du auch problemlos dem Parameter einen Wert zueisen.

In C# mault der Compiler, weil ein Wert sonst sich selbst zugewiesen werden würde.

Zitat:

Zuweisung zur gleichen Variablen. Wollten Sie eine andere Zuweisung durchführen? (CS1717)
.


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:47 Uhr.
Seite 10 von 10   « Erste     8910   

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