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 15:48:49
 
 
To
09/04/2002 15:08:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00642820
Message ID:
00642871
Views:
11
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 << >> ?
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform