On Tue, 15 Jan 2008, Saulius Zrelskis wrote:
> Hi all,
> Is this bug or feature ?
[...]

Rather bug. IMHO we should be strict Clipper compatible here because
it can be source of other incompatibilities. F.e. this is modified
Ron's example taken from xHarbour source:

    PROCEDURE Main()
       LOCAL cText1, cText2
       cText1 := "( v := ['A'] ) + &v"
       cText2 := "( v := 'A' ) + &v"
       M->v := "'B'"
       ? "Macro:", cText1
       ? "Result:", &cText1
       ? "Type:", type(cText1)
       M->v := "'B'"
       ? "Macro:", cText2
       ? "Result:", &cText2
       ? "Type:", type(cText2)
    RETURN

which shows some of possible problems. I'll commit fix ASAP.
Thanks for information and example.

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

Reply via email to