Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textmerge recursive
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Textmerge recursive
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01593970
Message ID:
01593970
Vues:
60
Consider this code:
LOCAL lcTest
lcTest = "<<lcTest2>>"
*
LOCAL lcTest2
lcTest2 = "Hello World"

TEXT TO lcOutput1 TEXTMERGE NOSHOW
What I say:
<<lcTest>>
Good bye.
ENDTEXT

MESSAGEBOX(lcOutput1) &&displays <<lcTest>> literally.

LOCAL lcOutput2
lcOutput2 = TEXTMERGE(lcOutput1,.T.,"<<",">>")

MESSAGEBOX(lcOutput2) && Displays Hello World.
I wonder if there a way to have the first Textmerge evaluate the string lcTest recursively?
Christian Isberner
Software Consultant
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform