Hi all,

I think there is a bug in TGET's delEnd() method - The loop...

DO WHILE ::nPos > nPos
    ::backSpaceLow()
ENDDO

...can become endless in some circumstances. While I cannot reproduce it in a DOS app, my GUI app (that implements its own masked edits using TGET) can using a 20-character character variable and a picture as "(999) 999-9999" - If I reduce the variable to 14 characters (ie. to match the picture length), it seems to work ok.

So, I'm not sure if this should be classified as a bug or not.

Regards,
Randy.

P.S. The use of :Pos and :nPos is very confusing in TGET.PRG


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to