Read EOL in a Variable

Results 1 to 2 of 2

Thread: Read EOL in a Variable

  1. #1
    Join Date
    Dec 1969

    Default Read EOL in a Variable

    I know how to read each line separately in a text file, but how do you read a line at a time in a variable?

  2. #2
    Ed Guest

    Default RE: Read EOL in a Variable

    Are you using the TextStream object?<BR><BR>Do While Not objTextStream.AtEndOfStream<BR><BR>strVariable = objTextStream.Readline<BR><BR>Loop<BR><BR>To learn more about the TextStream object see the FSO FAQ on 4Guys

Posting Permissions

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