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

Home » Public Forums » archive » Re: endless loops suck
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: endless loops suck [message #33915 is a reply to message #33820] Tue, 04 February 2003 01:14 Go to previous message
Timm Weitkamp is currently offline  Timm Weitkamp
Messages: 66
Registered: August 2002
Member
Today at 09:57 +0800, Thomas Gutzler wrote:

> How is this possible ?
>
> FOR i=0,4 DO PRINT, i, ' ', /NONEWLINE
> ^^^^^^^^^^ this may be a problem
> Result:
> 0 1 2 3 4

Use a format string (see also "Format codes" in the online help), like
this:

FOR i=0,4 DO PRINT, i, FORMAT='($,I1," ")'
PRINT

Cheers,
Timm

--
Timm Weitkamp <http://people.web.psi.ch/weitkamp>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL, arrays, and memory
Next Topic: Expert information needed

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

Current Time: Fri Oct 10 16:29:06 PDT 2025

Total time taken to generate the page: 0.63777 seconds