Here's the troublesome line of code.
Code: Select all
ReadIniFile>iniPath,%BuyOrder%,Line,BuyOrderLine
Length>BuyOrderLine,Len
Code: Select all
MessageModal>BuyOrder: %BuyOrder%, BuyOrderLine: %BuyOrderLine%, Len: %Len%
BuyOrder: ship, BuyOrderLine: , Len: 0
I've also tried substituting the variable with the path...
Code: Select all
ReadIniFile>c:\test.ini,%BuyOrder%,Line,BuyOrderLine
Again, the macro will work the first time, but fails on the second iteration of the loop. So the first time, the MessageModal returns:
BuyOrder: ship, BuyOrderLine: 1, Len: 1
Any ideas?
(The entire macro is presently 730 lines with subroutines. So I'll refrain from posting it now in hopes that someone can point out some glaring syntax error.
