Re: [fpc-pascal] Question: range checking for string indexing

2008-10-30 Thread Vinzent Höfler
Tom Verhoeff wrote: On Wed, Oct 29, 2008 at 09:58:10PM +0100, Vinzent Höfler wrote: Tom Verhoeff wrote: I am surprised that for ShortString, the range is not also 1 <= i <= Length(s). IIRC Turbo Pascal only allowed you to access s[0] when range checking was off, and similarly for s[i] with i

Re: [fpc-pascal] Question: range checking for string indexing

2008-10-30 Thread Frank Peelo
Tom Verhoeff wrote: On Wed, Oct 29, 2008 at 09:58:10PM +0100, Vinzent Höfler wrote: Tom Verhoeff wrote: I am surprised that for ShortString, the range is not also 1 <= i <= Length(s). IIRC Turbo Pascal only allowed you to access s[0] when range checking was off, and similarly for s[i] with

[fpc-pascal] ldap server written in pascal

2008-10-30 Thread Bee
Hi all, Is there some one out there ever write an LDAP server using Pascal (Delphi/FPC/GPC/whatever)? Now I required to write my own LDAP server (as user management system and SSO) that able to "think" upon request (not just returning raw values), thus it's impossible to use common LDAP serve

Re: [fpc-pascal] Question: range checking for string indexing

2008-10-30 Thread Tom Verhoeff
On Wed, Oct 29, 2008 at 09:58:10PM +0100, Vinzent Höfler wrote: > Tom Verhoeff wrote: > >> I am surprised that for ShortString, the range is not >> also 1 <= i <= Length(s). >> >> IIRC Turbo Pascal only allowed you to access s[0] when range checking >> was off, and similarly for s[i] with i > Lengt

[fpc-pascal] Re: New object created in custom pool

2008-10-30 Thread Knuckles
JoshyFun пишет: The "problem" is that most objects are quite small, two pointers and two int64 values (maybe 2 pointers more in a near future), but it must be a class instead a record because it could be overriden and specialized for other minor tasks (minor in the amount of created objects). The

[fpc-pascal] Post of release builder or tester

2008-10-30 Thread Kaushalya Damitha Weerakoon
About this Because of a lack of release builders and testers, 2.2.2 is only available for a limited number of platforms and not in all package formats. If you want to change this and build and test future releases, contact us via the mailing lists. I Have been programming for few years for my self