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

Home » Public Forums » archive » Re: create string of fixed length
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: create string of fixed length [message #47874] Wed, 08 March 2006 06:43 Go to previous message
Norbert Hahn is currently offline  Norbert Hahn
Messages: 46
Registered: May 2003
Member
justspam03@yahoo.de wrote:

> Hi,
>
> here's a probably very easy one (my apologies, but the help file failed
> to provide such)
> How does one create a string of fixed length, say a string consisting
> of 168 space
> characters?

There is no such beast as fixed length of string - if I'm not mistaken.
Surely I can assing 168 spaces to a variable of type string, but when
I execute abc = "*" some lines later, the length of the string abc
will change to one byte.

To maintain the original length and using my example I would have to
replace byte one with "*" in an assignment that may look like
strput, abc, "*", 1

... or am I completely wrong?

Norbert
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: About REGRESS.pro
Next Topic: Re: IDL Unix Color Problem

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

Current Time: Fri Oct 10 04:26:39 PDT 2025

Total time taken to generate the page: 0.24220 seconds