
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Just found out there is a bug in my original function and I couldn't track it down. It sometimes returns things that are not even in the file.
I wanted to try simpler code but it didn't work out as well :( .
shouldn't this work:
According to the doc on FileReadString you have to specify the length of the string you want to read.
how do you open the file? what is the FileOpen() code?
I wrote this code just to test the function.
According to the doc on FileReadString you have to specify the length of the string you want to read.
FileReadString( int handle, int length=0)
Also, the doc has an example with no length specified. From what I've tried, it just reads till the end of line.