home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada
- Path: sparky!uunet!mcsun!sunic!nobeltech!dawe
- From: dawe@nobeltech.se (Daniel Wengelin)
- Subject: Re: Outputting quote marks
- Message-ID: <1992Nov22.124601.4138@nobeltech.se>
- Organization: NobelTech AB
- References: <By13E7.4q5@plato.ds.boeing.com>
- Date: Sun, 22 Nov 1992 12:46:01 GMT
- Lines: 32
-
- In article <By13E7.4q5@plato.ds.boeing.com> rosen@plato.ds.boeing.com (Robert Rosen) writes:
- >I need to use Text_IO to output a string consisting of three
- >consecutive quote marks ("""). How can I do it? Trying
- >
- > Text_IO.Put_Line (""""");
- >
- >produces a compilation error.
- >
- >Bob Rosen
- >Boeing
- >rosen@goofy.ds.boeing.com
- >206-773-2852
-
-
- Try Put_Line(%"""%); It works fine on my Rat, and is much more
- readable than a large number of quotation characters (LRM 2.10).
-
-
- Daniel
-
-
- ----------------------------------------------------------------
- ! with Standard_Disclaimer; !
- ----------------------------------------------------------------
- ! Daniel Wengelin ! E-mail: dawe@nobeltech.se !
- ! Systems analysis and design ! Phone : +46 8 58084000 !
- ! NobelTech Systems ! Fax : +46 8 58081542 !
- ! Naval Systems Division ! Mail : S-17588 Jarfalla !
- ! ! SWEDEN !
- ----------------------------------------------------------------
- ! NobelTech: Winner of the -92 Ada Industry Leadership Award !
- ----------------------------------------------------------------
-