Il 16/08/2016 18:29, Ron Pinkas ha scritto:
>> I don't know if this is correct:
>>
>> #command TEST <xpr> ;
>> ;
>> => MyTest( { || <xpr> .and. .t. } )
>>
>> #command TEST &<xpr> ;
>> ;
>> => MyTest( &( "{ || " + <xpr> + " .and. .t. }" ) )
>>
>>
>> FUNCTION MAIN()
>>
>> LOCAL cVar := ".T."
>>
>> TEST &cVar
>>
>> RETURN NIL
>>
>> Error E0047 Code block contains both macro and declared symbol references
>
> Yes, this IS a correct error.
Right! The correct command should be
TEST &( cVar )
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG Music page: http://www.emagsoftware.it/emgmusic
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers