Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   (True = 1) and (True = ‘-1’) ? (https://www.delphipraxis.net/192049-true-%3D-1-true-%3D-%91-1%92.html)

DP News-Robot 16. Mär 2017 19:10

(True = 1) and (True = ‘-1’) ?
 
It has been observed that the Delphi documentation states that the constants True and False have the values 1 and 0 respectively, not the -1 and 0 that the default string conversions apply. This does actually make sense but also lays a trap for the unwary. True, True, Wherefore Art Thou -1 ? In the ...http://feeds.feedburner.com/~r/delph...~4/RdPnVMxB98Q

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:19 Uhr.

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