Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > vhdl textio and escape sequences

Reply
Thread Tools

vhdl textio and escape sequences

 
 
Olaf Petzold
Guest
Posts: n/a
 
      11-26-2005
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
 
Reply With Quote
 
 
 
 
Mike Treseler
Guest
Posts: n/a
 
      11-28-2005
Olaf Petzold wrote:

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


use "" instead of \"

-- Mike Treseler
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
textio VHDL vhdldevelopper Hardware 0 03-23-2010 11:31 AM
How to read strings cantaining escape character from a file and useit as escape sequences? slomo Python 5 12-02-2007 11:39 AM
Escape sequences (colour) and padding with "%8s"% Anton81 Python 6 08-10-2006 04:21 PM
Vhdl testbench with textio package Teten VHDL 0 09-01-2005 08:43 PM
Escape sequences and printing Kit C Programming 5 09-17-2003 02:10 AM



Advertisments