Subject Re: [Firebird-Architect] Re: External Engines (and Plugins)
Author Alex Peshkov
On Wednesday 25 June 2008 14:55, Adriano dos Santos Fernandes wrote:
> Dmitry Yemanov escreveu:
> > Vlad Khorsun wrote:
> >> This is not SQL-language interface. This is C++ interface.
> >
> > I agree with Vlad here. 1-based indices are OK when working with SQL, be
> > it syntax details or error messages. Users shouldn't be affected by our
> > internal C++ implementation. But the public API is intended for C/Delphi
> > programmers and 0-based indices are much more natural for them.
>
> 0 based index natural for Delphi??? It seems I don't remember anything
> from Delphi then.

Delphi has both. Most of VCL classes have 0-based indexes, but strings -
1-based.