Thema: Delphi wozu LongInt?

Einzelnen Beitrag anzeigen

Benutzerbild von X-Dragon
X-Dragon

Registriert seit: 14. Jan 2003
Ort: Schortens
289 Beiträge
 
Delphi 6 Enterprise
 
#3

Re: wozu LongInt?

  Alt 11. Dez 2003, 13:26
Zitat von Pseudemys Nelsoni:
hoi,

in meinem buch steht das Integer und LongInt ab Delphi2 sich in der länge nicht unterscheiden, wozu gibt es dann noch longint?
Aus "Kompatibilitätsgründen"?

Zitat:
An integer type represents a subset of the whole numbers. The generic integer types are Integer and Cardinal; use these whenever possible, since they result in the best performance for the underlying CPU and operating system. The table below gives their ranges and storage formats for the current 32-bit Object Pascal compiler.
...

Quelle: Delphi-Hilfe - Integer types
  Mit Zitat antworten Zitat