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 #55601 is a reply to message #55600] Fri, 31 August 2007 06:52 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
On Aug 31, 1:46 pm, Tinwai <wangt...@gmail.com> wrote:
> How to create a string S which consists 1024 spaces, like '
> ' ? Thx

S = strjoin(replicate('a', 1024), /single)

Replace 'a' with ' ', but this is somewhat easier to debug.

Maarten
[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 22:17:57 PDT 2025

Total time taken to generate the page: 1.51919 seconds