comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: String composition
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: String composition [message #38133 is a reply to message #38132] Mon, 23 February 2004 04:10 Go to previous message
Pepijn Kenter is currently offline  Pepijn Kenter
Messages: 31
Registered: April 2002
Member
Antonio Santiago wrote:
> Hi, sorry about this poor question, but is my first problem with IDL.
>
> How can i mount a string with a return carriadge. That is like C:
>
> string = 'hello \n'+ 'bye'
>
> How can i put the '\n' character?
>
> thanks
>
You can use C-style format codes like this:

print, format='(%"hello\nbye")'

Pepijn.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: x-axis as long as y-axis ?
Next Topic: Re: Mark directory for exclusion from !PATH

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 20:43:25 PDT 2025

Total time taken to generate the page: 0.56037 seconds