Read from text file

Discussion in 'Questions (Windows Mobile)' started by TatyanaP, May 11, 2017.

  1. TatyanaP

    TatyanaP Member Licensed User

    Hi everyone!

    How is it possible to read some value from text file *.txt?

    Thanks a lot~
     
  2. agraham

    agraham Expert Licensed User

    Look in the Main Help. At Keyword -> Files -> FileOpen. there is some example code.
     
    Peter Simpson and TatyanaP like this.
  3. TatyanaP

    TatyanaP Member Licensed User

    Thanks!~ That helped me much!
     
  4. TatyanaP

    TatyanaP Member Licensed User

    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.
     
  5. agraham

    agraham Expert Licensed User

    Just pass the full path like, you wrote above, as the filename.
     
    Peter Simpson and TatyanaP like this.
  6. TatyanaP

    TatyanaP Member Licensed User

    Thanks, man! I was too distrait. That solved my problem 100% :)
     
Loading...