Results 1 to 3 of 3

Thread: Quotation marks with WRITE statement

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Posts
    17

    Thumbs down

    Another Quick Question:

    When I write to an external file using the write statement, it always puts quotation marks at the beginning and end of the string... is something wrong with my code??

    Example:

    NameOfPerson = "John Jacob Jingleheimer Smith"
    Write #1, NameOfPerson

    In the text file, I'll see:

    "John Jacob Jingleheimer Smith" -- WITH THE QUOTES! (grrr)

    I'm trying to use this program to write HTML files, and its driving me nutz... any suggestions??

    Are there other commands used to write to a file???

    Thanks


    <~~ Whisper ~~>

  2. #2
    Junior Member
    Join Date
    Mar 2000
    Posts
    29
    use the print statement instead of the write statement, it does not put any formatting

  3. #3
    Lively Member
    Join Date
    Jan 2000
    Location
    Dallas, TX
    Posts
    89
    Use the Print# Statement if you don't want the quptation marks. Hope this helps.
    ande211
    VB6 SP3

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