Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to split expression in TEXTMERGE
Message
De
09/04/2002 16:18:34
 
 
À
09/04/2002 15:48:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00642820
Message ID:
00642884
Vues:
20
Daniel,

thank you for this recommendation. I did'nt know about TEXTMERGE() function existence before your message. It this exactly the same as TEXT TO memvar TEXTMERGE command ?


>Andrus,
>Try TextMerge() instead:
>
>MyVar = TEXTMERGE("<<1+;
>                     2+;
>                     3+;
>                     4>>")
>
>
>>>>I use VFP 7 TEXT TO myvar TEXTMERGE command.
>>>>
>>>>I need to split a long expression between << >> into multiple lines for
>>>>readability.
>>>>
>>>>However, the following program produces syntax error.
>>>>How to split expression into multiple lines ?
>>>>
>>>>
>>>>TEXT TO myvar TEXTMERGE
>>>><< 1+ ;
>>>>2>>
>>>>ENDTEXT
>>>>
>>>
>>>How about storing the expression to a memory variable, then doing something like: << eval(lcMemVar) >>
>>
>>Actually I have a number of complex expression.
>>Storing them to a forest memory variables makes my textmerge command
>>totally unreadable.
>>Is'nt there a simpler way ? Why semicolon caanot be used as continuation line
>>inside << >> ?
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform