vhdl textio and escape sequences

Discussion in 'VHDL' started by Olaf Petzold, Nov 26, 2005.

  1. Olaf Petzold

    Olaf Petzold Guest

    Hi,

    how can I write something like this:

    use std.textio.all;
    ....
    write(L, string'("static const char* const version = \"$Revision$\";")
    & LF);

    where L is of type line.

    Thanks,
    Olaf
    Olaf Petzold, Nov 26, 2005
    #1
    1. Advertising

  2. Olaf Petzold wrote:

    > how can I write something like this:
    > write(L, string'("static const char* const version = \"$Revision$\";")


    use "" instead of \"

    -- Mike Treseler
    Mike Treseler, Nov 28, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kit

    Escape sequences and printing

    Kit, Sep 16, 2003, in forum: C Programming
    Replies:
    5
    Views:
    496
    Matt Gregory
    Sep 17, 2003
  2. Anton81
    Replies:
    6
    Views:
    401
    Dennis Lee Bieber
    Aug 10, 2006
  3. slomo
    Replies:
    5
    Views:
    1,520
    Duncan Booth
    Dec 2, 2007
  4. Guest
    Replies:
    2
    Views:
    558
    Tim Roberts
    Dec 15, 2007
  5. Guest
    Replies:
    4
    Views:
    707
    Martin v. Löwis
    Dec 19, 2007
Loading...

Share This Page