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

Home » Public Forums » archive » Odd string/index problem
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: Odd string/index problem [message #21771 is a reply to message #21685] Thu, 14 September 2000 00:00 Go to previous message
wmc is currently offline  wmc
Messages: 117
Registered: February 1995
Senior Member
marc <m_schellens@hotmail.com> wrote:
> wmc@bas.ac.uk wrote:
>> wmc> a='stoat'
>> wmc> print,a([0]),'>'
>> stoat
>>>
>> wmc> print,a(0),'>'
>> stoat>

> This is because your i is an array, while i[0] is a scalar.
> therefore strings(i) is a string array, while strings(i[0]) is a scalar.

> after printing an array, IDL always starts a new line

OK, its an array, but is it acceptable that IDL always starts a new line
after printing an array? Whats the justification for that?

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nerc-bas.ac.uk/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Odd string/index problem
Next Topic: Re: Convolution of Stick Spectra

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

Current Time: Wed Oct 08 19:58:08 PDT 2025

Total time taken to generate the page: 0.00265 seconds