[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Print format question for the Experts
jmcfee@dres.dnd.ca (John McFee) writes:
>
> Because I can have several thousand records in a run, I do not want to have a
> flowing list like:
>
> ...
> Record number 1034 out of 1500
> Record number 1035 out of 1500
> Record number 1036 out of 1500
> ...etc.
If you are on an ANSI-type terminal (VT100, etc, perhaps even the DOS
window), you can check out STATUSLINE in my library for some pointers
on how to move the cursor around on the screen. The essence of the
script is that I use the various ANSI escape codes to push the cursor
to the desired place. I use it everyday to do exactly what you are
describing.
Craig
--
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------