Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to split expression in TEXTMERGE
Message
From
09/04/2002 16:18:34
 
 
To
09/04/2002 15:48:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00642820
Message ID:
00642884
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform