Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Compiler-Fehler: "Downto" statt "To" (https://www.delphipraxis.net/42742-compiler-fehler-downto-statt.html)

Airblader 23. Mär 2005 21:57

Re: Compiler-Fehler: "Downto" statt "To"
 
Warum wird in diesem Fall i aber auf 0 gezählt?

Das kann doch keine Optimierung sein, wenn er steht von "97-252" "252-0" zählt

air

TeronG 23. Mär 2005 22:12

Re: Compiler-Fehler: "Downto" statt "To"
 
Delphi-Quellcode:
for i:=156 downto 0 do
    BA[i + 97] := 0;
siehe oben: nicht 252-0 sondern 156-0 (später i+97)


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:25 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 by Thomas Breitkreuz