8
votes
Vote UpVote

Delphi: ZEROBASEDSTRINGS and maintaining cross-version Delphi libraries

The Wiert Corner – One of the features that bites me over and over again is the ZEROBASEDSTRINGS that got introduced in Delphi XE3 and is by default ON in mobile compilers and OFF in Desktop compilers. Back then, Mark Edington showed a small example of the effects: and then explained: The XE3 RTL source code has been refactored to be string index base agnostic. In most cases this is done by utilizing string helper functions which are always zero based. When it is necessary to traverse a string, the Char[] property is often used to access the individual characters without concern for the current state of the ...
Favorite? Off-Topic? jpluimers @ 2015-01-14 06:00

Statistics

Visits: 1312
Votes: 8
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Ales Kacijan
Alister Christie
Barton_Stano
François
Primoz Gabrijelcic
SimaWB
stukelly
TOndrej
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)