Hi,

This one confused me today and I'm just curious which would be "the most" correct behaviour ;-) I'm unable to enter any number with @RE picture in Harbour, reduced test-case follows.

Regards, AC

PROCEDURE MAIN
LOCAL n := 0

/*
  Clipper NG
        E            Displays date in British format
        R            Nontemplate characters are inserted
*/

CLEAR
@ 1, 1 SAY "Works in Clipper 5.3b & xHarbour (@RE)"
@ 2, 1 GET n PICTURE "@RE 99.9999 xx/y" VALID n > 0
READ

@ 3, 1 SAY "Works in Clipper 5.3b & Harbour (@E)"
@ 4, 1 GET n PICTURE "@E 99.9999 xx/y" VALID n > 0
READ

@ 5, 1 SAY "@R alone works as expected in Harbour"
@ 6, 1 GET n PICTURE "@R 99.9999 xx/y" VALID n > 0
READ


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to