Skip to content
  • Home
  • About Deltics
  • About This Blog
  • ADB WinLog
  • ADB WinLog User Guide
  • Poll Archives
Deltics

Deltics

  • Home
  • About Deltics
  • About This Blog
  • ADB WinLog
  • ADB WinLog User Guide
  • Poll Archives

Day: March 17, 2017

  • Home
  • 2017
  • March
  • 17

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

[Estimated Reading Time: 4 minutes] 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.

17 Mar 201717 Mar 2017 Deltics10 CommentsDelphi, Oxygeneboolean, Delphi, language, oxygene

profile for Deltics at Stack Overflow, Q&A for professional and enthusiast programmers

Tags

.NET5th Quarter64-bitactivationadb winlogadminalarmandroidandroid studioanonymous classesanonymous methodsANSIansificationANSIStringAotearoaapiapkudoApplicationappsarm64artasp.netattributesaudioauto-completeautomationazureazure devopsbackupsbatterybattery infoBDE

Links (Ads)

Related Ad

March 2017
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Feb   Apr »

Archives

Locations of visitors to this page

Useful Sites and Tools

  • DelphiFeeds Comprehensive round up of Delphi blogs, news and information. DelphiFeeds Comprehensive round up of Delphi blogs, news and information. 0
  • OpenHost Quality domain and web hosting in NZ 0
  • WordPress The software that powers this site. Highly recommended. 0

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © All rights reserved.
Linten by Anil Basnet