Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textmerge is recursirve?
Message
From
01/11/2010 02:54:17
 
 
To
31/10/2010 12:57:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01487700
Message ID:
01487736
Views:
114
A couple of SWAGgy comments, may or may not be useful:

- Did you have that code block indented? You may have noticed that causes the output to be indented as well. I remember first working with it years ago and running into some weird things when it's indented, my personal rule is to never indent it

- Might you have had any weird DEFINEs set?

>Dragan --
>
>No, that couldn't be it, as I was no even aware that there was a feature 'Set TextMerge'.
>
>In any case, while I didn't understand what caused the error, I also don't understand what I did that made it go away.
>
>
>
>>>Koen --
>>>
>>>OK, but what could that be? AND -- if the code fails, because it is recursive (note that it doesn't even use TextMerge!), why when I resume execution does it not fail.
>>
>>Could it be that you had a Set Textmerge On already? Fox actually has only one textmerge handle (_text variable) for the old output-to-file merge mode; the new text-to-variable and textmerge() can mess with it if it's still open while they execute.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform