Hi,

This is very twisted and inefficient syntax.

If this is used in thousands of places it's probably 
worth to write a little application which goes through 
the whole app and swaps it with the efficient solution.

Brgds,
Viktor

On 2010 Mar 20, at 23:06, Alexandr Okhotnikov wrote:

> Hi,
> 
> How can I compile (and run) this code in a macro:
> 
> field->&("name")
> 
> example:
> 
> func xxx( name )
> local b := &( "{|| field->&('" + name + "') }" )
> return eval( b )
> 
> Error BASE/1449  Syntax error: &
> 
> PS in *.hrb the exact same error
> PPS Alaska XBase++: compiles without errors
> (I convert the code from XBase++)
> 
> -- 
> Alexandr
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour

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

Reply via email to