![]() |
Re: Integer zu Boolean
Moin Zusammen,
da es sich ja um einen Integer handelt, dann der Wert ja auch kleiner als 0 sein, also wäre
Delphi-Quellcode:
noch eine Möglichkeit.
BooleanWert := not (IntegerWert = 0);
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:53 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