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

Home » Public Forums » archive » Printing to command line without a new line
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Printing to command line without a new line [message #78231] Wed, 02 November 2011 11:19
jasmeervirdee@gmail.c is currently offline  jasmeervirdee@gmail.c
Messages: 2
Registered: November 2011
Junior Member
Hi all,

I have a fairly simple question.
My code takes a fair amount of time to run and I would like
it to display a percentage number which updates to the
command line without starting a new line.

So using print one usually does:

for i=0, 100-1, 1 do print, i, '%'

but this creates a long list of numbers. How can I stop a newline
being created by the print command

I hope this is clear. Does anyone know how to do this?

Cheers
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Coyote Tex
Next Topic: Re: Math errors tracked! To a built-in library...

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

Current Time: Wed Oct 08 13:43:49 PDT 2025

Total time taken to generate the page: 0.00406 seconds