Re: [Harbour] Question about Preprocessor 2

2010-05-13 Thread Alex Strickland
Przemysław Czerpak wrote: On Thu, 13 May 2010, CarozoDeQuilmes wrote: Hi, Hi, I have an little question: This translate: #xtranslate. => myFun( , ) function main() aeval( aTmp , { |x| level1.level2 } ) return .T. It will be generate the followed sentence: function main() aeval( aTmp

Re: [Harbour] Question about Preprocessor

2010-05-13 Thread CarozoDeQuilmes
Hi Przemyslaw Ok, thanks for answer Regards CdQ 2010/5/13 Przemysław Czerpak > On Tue, 11 May 2010, CarozoDeQuilmes wrote: > > Hi, > > > Hi, when I put the following #translate in my program always convert the > > parameter myparm to literal "myparm". It is good for me. > > The question is: h

Re: [Harbour] Question about Preprocessor 2

2010-05-13 Thread CarozoDeQuilmes
Hi Przemyslaw Ok, thanks for answer Regards CdQ 2010/5/13 Przemysław Czerpak > On Thu, 13 May 2010, CarozoDeQuilmes wrote: > > Hi, > > > Hi, I have an little question: > > This translate: > > #xtranslate . => myFun( , ) > > function main() > > aeval( aTmp , { *|x|* level1.level2 } ) >

Re: [Harbour] Question about Preprocessor

2010-05-13 Thread Przemysław Czerpak
On Tue, 11 May 2010, CarozoDeQuilmes wrote: Hi, > Hi, when I put the following #translate in my program always convert the > parameter myparm to literal "myparm". It is good for me. > The question is: how make it in reverse ? (convert literal or variable to > variable) PP does not support neste

Re: [Harbour] Question about Preprocessor 2

2010-05-13 Thread Przemysław Czerpak
On Thu, 13 May 2010, CarozoDeQuilmes wrote: Hi, > Hi, I have an little question: > This translate: > #xtranslate . => myFun( , ) > function main() > aeval( aTmp , { *|x|* level1.level2 } ) > return .T. > It will be generate the followed sentence: > function main() > aeval( aTmp , { myFun(

[Harbour] Question about Preprocessor 2

2010-05-13 Thread CarozoDeQuilmes
Hi, I have an little question: This translate: #xtranslate . => myFun( , ) function main() aeval( aTmp , { *|x|* level1.level2 } ) return .T. It will be generate the followed sentence: function main() aeval( aTmp , { myFun( *|x|* level1 , level2 ) } ) return .T. I think that it is

Re: [Harbour] Question about Preprocessor

2010-05-12 Thread CarozoDeQuilmes
Hi Antonio, I haven't any real sample, I'm experimenting to applied it to my proyect. Thank you for your interest Regards CdQ On Tue, May 11, 2010 at 11:12 PM, Antonio Maniero wrote: > Hi > > I am curious about this need. Can you provide some useful example? > > []'s Maniero > > > 2010/5/11

Re: [Harbour] Question about Preprocessor

2010-05-11 Thread Antonio Maniero
Hi I am curious about this need. Can you provide some useful example? []'s Maniero 2010/5/11 CarozoDeQuilmes > Hi, when I put the following #translate in my program always convert the > parameter myparm to literal "myparm". It is good for me. > > Sample: > > #translate MYEXAMPLE ; >

[Harbour] Question about Preprocessor

2010-05-11 Thread CarozoDeQuilmes
Hi, when I put the following #translate in my program always convert the parameter myparm to literal "myparm". It is good for me. Sample: #translate MYEXAMPLE ; => ; MYNEWEXAMPLE <(myparm)> function main() MYEXAMPLE "cParm" MYEXAMPLEcParm Return .T. Code Gen