Re: [Harbour] Re: Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Mindaugas Kavaliauskas
Viktor Szakáts wrote: Thanks, so the same extension exist as in xhb. I'll update SVN. IFAIR, xHarbour allows off-limit indices to return an empty string. That was the main drawback, that does not help to find buggy code by RTE. F.e. 'abc'[1, 2, 3, 4, 5, 6] does not RTE. Regards, Mindaugas

Re: [Harbour] Re: Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Przemysław Czerpak
On Thu, 25 Feb 2010, Szak�ts Viktor wrote: Hi, > Thanks, so the same extension exist as in xhb. The same as in Harbour's XHB emulation :) Real xHarbour works in a little bit different way and I intentionally haven't replicated it exactly. See "USING [] OPERATOR FOR STRING ITEMS" in doc/xhb-diff

Re: [Harbour] Re: Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Viktor Szakáts
Thanks, so the same extension exist as in xhb. I'll update SVN. Brgds, Viktor On Thu, Feb 25, 2010 at 9:18 PM, Angel Pais wrote: > El 25/02/2010 17:43, Viktor Szakáts escribió: > > Angel, >> >> Can you tell, if Xbase++ support negative indexes >> in 'string[ n ]' operations? >> >> I'd also be

[Harbour] Re: Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Angel Pais
El 25/02/2010 17:43, Viktor Szakáts escribió: Angel, Can you tell, if Xbase++ support negative indexes in 'string[ n ]' operations? I'd also be interested in the error messages you get when using off limit or zero index. Brgds, Viktor Sure !!! See next: PROCEDURE Main LOCAL cString

Re: [Harbour] Re: Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Viktor Szakáts
Angel, Can you tell, if Xbase++ support negative indexes in 'string[ n ]' operations? I'd also be interested in the error messages you get when using off limit or zero index. Brgds, Viktor On Thu, Feb 25, 2010 at 8:20 PM, Angel Pais wrote: > >> Now all "dialect" APIs can just be freely develo

[Harbour] Re: Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Angel Pais
El 25/02/2010 17:28, Viktor Szakáts escribió: Hi Angel, (for array index support, you only need just a smallhank part of the above code) Brgds, Viktor Thank you ! ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org h

[Harbour] Re: Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Angel Pais
Now all "dialect" APIs can just be freely developed using some very simple rules. Brgds, Viktor Hi Viktor What rule do I have to issue to make this work ? Procedure Main cString := 'ABC' ? cString[2] // --> 'B' Return Xbase++ users are VERY used to this syntax and makes string mani

Re: [Harbour] Re: Przemyslaw, I need to know your position about HB_PP_MULTILINE support

2010-02-25 Thread Viktor Szakáts
Hi Angel, > Hi Viktor > > What rule do I have to issue to make this work ? > > Procedure Main > cString := 'ABC' > ? cString[2] // --> 'B' > Return > > Xbase++ users are VERY used to this syntax and makes string manipulation > programs much simpler. > It's already implemented in xhb lib