![]() |
AW: Integer in Set laden
AN dieser Stelle möchte ich noch einmal auf die
![]() |
AW: Integer in Set laden
Delphi-Quellcode:
uses
TypInfo; type TNiveau = (nA, nB, nC, nD, nE, nF); TNiveauSet = set of TNiveau; var n: TNiveau; s: TNiveauSet; begin Byte(s) := 57; for n := Low(TNiveau) to High(TNiveau) do if n in s then Write(GetEnumName(TypeInfo(TNiveau), Ord(n)), ' '); end. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:24 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