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 via operator overloading, so you can either use that one, or similar implementation can be copied to hbxpp (with possible adjustments to fully mimic Xbase++ behavior). You can find current implementation in these files: contrib/xhb/xhb.ch contrib/xhb/xhbcomp.prg contrib/xhb/xhbmsgs.c (for array index support, you only need just a small part of the above code) Brgds, Viktor
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
