Strange FileReadString() behavior?

To add comments, please log in or register
SteelAce
216
SteelAce  

I am using simple FileReadString(FileHandle) in my EA AceDeal. In text file Command.txt (Placed in Terminal Data Path) is simply string 0.1. Why FileReadString() cannot normally read that string?(???)


jaffer wilson
1405
jaffer wilson  
SteelAce:

I am using simple FileReadString(FileHandle) in my EA AceDeal. In text file Command.txt (Placed in Terminal Data Path) is simply string 0.1. Why FileReadString() cannot normally read that string?(???)


Guess you need to try:

int FileHandle=FileOpen(CommandFileName,FILE_READ|FILE_TXT|FILE_ANSI);
SteelAce
216
SteelAce  
Thank you Jaffer, it works!
To add comments, please log in or register