Bluepoint Design

Practical Cost-Effective Solutions
MEP inserts RTF tagging when setting variable from export file


When I set a string var from a macro export information file it adds what looks like an RTF flag at the beginning and a “\par “ at the beginning of each line.

I start with a file that looks like this:

And end up with a variable that looks like this:

It does not do this for other text files, only macro export files.

2009/11/13 1412 I thought something in the file might be triggering this so I tried to isolate. First I checked again and my macro had the same symptoms. Next I deleted all the lines after 500 and saved and did not get the symptom. But then I deleted all the lines up to and including 500 and there was no symptom. IE neither half of the export caused the problem. Go figure.

2009/11/13 1436 Found the culprit. Any file larger than 65,535 bytes causes the problem. Give it's close proximity it must be related to some size limit of 2^16 (65,536)

 
 
Practical Cost-Effective Solutions