Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A utility to display progress

3 views
Skip to first unread message

Pickie

unread,
Sep 25, 2007, 5:15:29 PM9/25/07
to
I just thought I'd post a utility subroutine to display progress of a
task.

SUBROUTINE GRAPH(percent,caption)
*
* Displays % completion of a task
*
CRT @(19,11):' |---|---|---|---|---|---|---|---|---|---| ':@(-4)
CRT @(19,12):' 0 20 40 60 80 100':@(-4)
CRT @(19,13):' ':caption:@(-4)
bar.length = INT(percent*40/100)
bar = STR(' ',bar.length)
CRT @(20,10):@(-13):bar:@(-14):percent:' %':@(-4)
RETURN

Douglas Tatelman

unread,
Sep 27, 2007, 11:31:06 PM9/27/07
to
Well, I like it. I'd like to see more code snippets here.

I've found with every new system I install, programs that used to take
a while, now go so quickly my counters and progress reports just flash
by - not needed any more! Nothing like linux on a dual core, with
lots of RAM.

Cheers

Douglas

art

unread,
Sep 28, 2007, 2:06:40 PM9/28/07
to
Douglas Tatelman wrote:
> Nothing like linux on a dual core, with lots of RAM.
>

Here, Here!! (Or is that Hear, Hear!! ??)
Art

Tom Phillips

unread,
Sep 28, 2007, 2:24:45 PM9/28/07
to

It's a shame we can't get the vendors to put in a progress bar on long
running selects, etc. You know - frames processed vs. total frames.

Oh well - just dreaming...

art

unread,
Sep 28, 2007, 2:52:13 PM9/28/07
to
Tom Phillips wrote:
> It's a shame we can't get the vendors to put in a progress bar on long
> running selects, etc. You know - frames processed vs. total frames.
>
> Oh well - just dreaming...
>

Ummmmm.,,, try the "(T)" option on a select (at least on D3).
Art

Excalibur

unread,
Sep 28, 2007, 7:55:46 PM9/28/07
to

"art" <artm...@triad.rr.com> wrote in message
news:46fd4d5d$0$5012$4c36...@roadrunner.com...
Of course if you are running D3 on Windows you don't need it because a
million record select is done in a flash.
Peter McMurray


Ross Ferris

unread,
Sep 30, 2007, 3:01:23 AM9/30/07
to
On Sep 29, 9:55 am, "Excalibur" <excalibu...@bigpond.com> wrote:
> Art
>
> Of course if you are running D3 on Windows you don't need it because a
> million record select is done in a flash.
> Peter McMurray

PROVIDED your select isn't too complex and is running against an
indexed field

0 new messages