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 #38132 is a reply to message #38127] Mon, 23 February 2004 04:14 Go to previous messageGo to previous message
Edd Edmondson is currently offline  Edd Edmondson
Messages: 50
Registered: January 2003
Member
Antonio Santiago <d6522117@est.fib.upc.es> 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?

STRING(10B) (10 being the ascii code for a new line)

eg, mystring='hello'+STRING(10B)+'bye'

--
Edd
[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: Fri Oct 10 12:10:11 PDT 2025

Total time taken to generate the page: 0.40212 seconds