Hi All,

In the example below:

-------------------------------------
FUNCTION MAIN()
LOCAL cVar

ALTD()

cVar:= 5  // Just to stop on something

RETURN 0
--------------------------------------

If I go to the command window of the debugger and ask a few questions:

? s             // nil as expected
? (s:= 3)   // 3 as expected
? s            // nil - not expected

xHarbour and Clipper show s = 3 instead of nil.

It's very useful to do a few calculations and save results for tests you didn't anticipate.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to