Hi Alexander,

A small variation if it helps. :)

PROCEDURE main
PRIVATE arr[10], r

   arr[1] := "OO"

   r = 'arr[1]'
// ...
   &r = &r + '*'
   ? arr[1], r
   &(r) += '*'
// ...
   ? arr[1], r

Return

--
Xavi

Alexander S.Kresin escribió:
Hi All,

Maybe, this issue was discussed already, but ...
This code gives an error with Harbour, but works with Clipper:

PROCEDURE main
PRIVATE arr[10], r

   arr[1] := "OO"

   r = 'arr[1]'
   &r += '*'    // Runtime "Syntax error: &" with Harbour
   ? arr[1], r

Return Nil

Is this error or a feature :) ?

Regards, Alexander.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour


_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to