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

Home » Public Forums » archive » Re: how to create a string of 1024 spaces?
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: how to create a string of 1024 spaces? [message #55599 is a reply to message #55598] Fri, 31 August 2007 07:32 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Tinwai wrote:
> How to create a string S which consists 1024 spaces, like '
> ' ? Thx
>

IDL> a=make_array(1024,1,val=32b,/byt)
IDL> help,string(a)

<Expression> STRING = '
'...

IDL> print,strlen(string(a))
1024

cheers
Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Programmatic size adjustment of widgets under Windows vs. UNIX (was "Natural size of explicitly-sized widget")
Next Topic: Placing constraints on Interpol

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

Current Time: Sun Oct 12 14:46:05 PDT 2025

Total time taken to generate the page: 2.72370 seconds