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 <[email protected]> wrote: > Hi > > I am curious about this need. Can you provide some useful example? > > []'s Maniero > > > 2010/5/11 CarozoDeQuilmes <[email protected]> > >> 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 <myparm> ; >> => ; >> MYNEWEXAMPLE <(myparm)> >> >> function main() >> MYEXAMPLE "cParm" >> MYEXAMPLE cParm >> Return .T. >> >> Code Generated: >> >> function main() >> >> MYNEWEXAMPLE "cParm" >> >> MYNEWEXAMPLE "cParm" >> >> Return .T. >> >> The question is: how make it in reverse ? (convert literal or variable to >> variable) >> >> #translate MYEXAMPLE <?> ; >> => ; >> MYNEWEXAMPLE <?> >> >> function main() >> MYEXAMPLE "cParm" >> MYEXAMPLE cParm >> Return .T. >> >> Generate: >> >> function main() >> >> MYNEWEXAMPLE cParm >> >> MYNEWEXAMPLE cParm >> >> Return .T. >> >> Thanks in advance >> -- >> CdQ >> >> _______________________________________________ >> 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 > > -- Saludos/Regards/Abraços CdQ
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
