r2ks Posted January 28, 2022 Report Share Posted January 28, 2022 Good Day, I tried to run the example in the Documentation for this and when I do all that copies to my text document is the Variables it does not read the csv file any help would be great. %T2% %T3% %T4% %T5% %T6% %T7% %T8% %T9% %T10% %T11% %T12% %T2% %T3% %T4% %T5% %T6% %T7% %T8% %T9% %T10% %T11% %T12% %T2% %T3% %T4% %T5% %T6% %T7% %T8% %T9% %T10% %T11% %T12% %T2% %T3% %T4% %T5% %T6% %T7% %T8% %T9% %T10% %T11% %T12% Quote Link to comment Share on other sites More sharing options...
rberq Posted January 28, 2022 Report Share Posted January 28, 2022 Macro Express automatically defines string (text) variable "T" as an array with 99 items. So you would enter %T% in the ASCII Begin Process command. But in your Text Type command, you must specify %T[1]% %T[2]% %T[3]% %T[4]% and so on -- brackets around the number. It's possible your macro IS reading the CSV file correctly, but it's just the Text Type command that's wrong. Quote Link to comment Share on other sites More sharing options...
Cory Posted January 28, 2022 Report Share Posted January 28, 2022 rberg is right. Also when I open a new macro file I immediately delete the 4 standard variables. It's a holdover from ME3 and I feel one should meaningfully name their variables. Also only make them array variables when an array is needed. Quote Link to comment Share on other sites More sharing options...
r2ks Posted January 31, 2022 Author Report Share Posted January 31, 2022 On 1/28/2022 at 4:00 PM, rberq said: Macro Express automatically defines string (text) variable "T" as an array with 99 items. So you would enter %T% in the ASCII Begin Process command. But in your Text Type command, you must specify %T[1]% %T[2]% %T[3]% %T[4]% and so on -- brackets around the number. It's possible your macro IS reading the CSV file correctly, but it's just the Text Type command that's wrong. Thank You, That is Exactly what it was... I appreciate your quick response Quote Link to comment Share on other sites More sharing options...
r2ks Posted January 31, 2022 Author Report Share Posted January 31, 2022 On 1/28/2022 at 4:51 PM, Cory said: rberg is right. Also when I open a new macro file I immediately delete the 4 standard variables. It's a holdover from ME3 and I feel one should meaningfully name their variables. Also only make them array variables when an array is needed. Thank you, I did not know they where hold overs. I would also agree with you on the naming of the variables. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.