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 <[email protected]> wrote: > >> 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 manipulation > programs much simpler. > > TIA > Angel > > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour >
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
