Results 1 to 3 of 3

Thread: How a program can Read From A Text File

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 1999
    Location
    Solihull
    Posts
    10

    Post

    How to make a program so that it could read from the text file and then perform same function according to the syntax of the text file.

  2. #2

    Post

    Unfortunately this is IMPOSSIBLE !!
    Visual Basic does not work in a way of passing strings to the compiler, but the compiler processes COMMANDS, and this is the new characteristic of the new developed Programming Languages, i.e. Pascal, C, VB.

    However, in Clipper you can do this .. if you heard about this programming language.

    Wesam.

    ------------------

  3. #3
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    Fortunately, it's possible (I'm guessing the original poster intended to use the word "some" in place of "same").

    Use this process:

    Read record
    parse string into fields
    use a case statement to decide what to do based upon the content of one (or more) of the fields.
    loop until done

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width