Results 1 to 6 of 6

Thread: Print ' " ' character

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    34
    Does anyone know how to print the " character to a text file using the default Print # statement. Because everytime i try to do it the " char ends the string and everything after isn't recognised

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Code:
    Print #1,Chr(34)

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Print #intnum,Chr(34)
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  4. #4
    Guest
    Use quadro-quotes.
    Code:
    Open "MyFile" For Output As #1
    Print #1, """"
    Close #1

  5. #5
    Guest
    If you want to quote the text in a file, use the Write statement.

    Code:
    Open "MyFile" For Output As #1
    Write #1, "This is quoted."
    Close #1

  6. #6
    Hyperactive Member Juan Carlos Rey's Avatar
    Join Date
    Aug 1999
    Location
    Mendoza, Argentina
    Posts
    301

    Talking Asterisk

    BTW, your name is chr(42)

    lol
    Combat poverty: kill a poor!!

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