Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.979 Beiträge
 
#1

(True = 1) and (True = ‘-1’) ?

  Alt 16. Mär 2017, 19:10
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 ...

More...
  Mit Zitat antworten Zitat