T TatyanaP Member Licensed User Longtime User May 11, 2017 #1 Hi everyone! How is it possible to read some value from text file *.txt? Thanks a lot~
agraham Expert Licensed User Longtime User May 11, 2017 #2 Look in the Main Help. At Keyword -> Files -> FileOpen. there is some example code.
T TatyanaP Member Licensed User Longtime User May 11, 2017 #4 Oh, I have one more related question - How can I open file which exists in another folder? E.g.: "C:\Documents and Settings\MyFolder\Data.txt?" I could not describe the path as File's Name, the compilator still searches it at initial folder - where the program file .exe is.
Oh, I have one more related question - How can I open file which exists in another folder? E.g.: "C:\Documents and Settings\MyFolder\Data.txt?" I could not describe the path as File's Name, the compilator still searches it at initial folder - where the program file .exe is.
agraham Expert Licensed User Longtime User May 11, 2017 #5 Just pass the full path like, you wrote above, as the filename.
T TatyanaP Member Licensed User Longtime User May 11, 2017 #6 Thanks, man! I was too distrait. That solved my problem 100%