I don't have a problem starting at column 40 but I want the
numbers right aligned.

hrs

Stephen Riddle

Hi Harvey, Quite sometime ago there was a thread called Maiking numbers line up or something like that. I believe there were several successful clips. I have

Message 4 of 10
, Jun 30, 2001

0 Attachment

Hi Harvey,
Quite sometime ago there was a thread called "Maiking numbers line up"
or something like that.
I believe there were several successful clips.
I have one of them I could send you and we could adapt it.
I know I've got it because I found it and used it last week.
What the clip does is breaks the rows of numbers up into an array, and
adds spaces so that each line is the same length.
I'll have to look at it again, but I think it is not e x a c t l y what
you wanted.\
Stephen

"Harvey R. Savage" wrote:

>

> I'm trying to figure an easy way to display numbers right
> justified. I've tried most of the string functions that looked
> like they might work, no success yet.
>
>

Alan C.

Hi Harvey, ... Now that you and I called my attention to it I see that strformat does the same for me as it does for you. I have fun tinkering. Following got

Message 5 of 10
, Jun 30, 2001

0 Attachment

Hi Harvey,

>I don't have a problem starting at column 40 but I want the
>numbers right aligned.

Now that you and I called my attention to it I see that strformat does the same for me as it does for you.

could reduce the number from 40 in strformat if don't want it that far over on the page.

bye. Alan.

Harvey R. Savage

... Hi Stephen, and Alan, Stephen, if you can lay your hands on that clip I would like to see it, thanks. Alan also sent a few lines of code that I haven t had

Message 6 of 10
, Jul 1, 2001

0 Attachment

Stephen Riddle wrote:

>
> Hi Harvey,
> Quite sometime ago there was a thread called "Maiking numbers line up"
> or something like that.
> I believe there were several successful clips.
> I have one of them I could send you and we could adapt it.

> I'll have to look at it again, but I think it is not e x a c t l y what
> you wanted.\
> Stephen
>
> "Harvey R. Savage" wrote:
> >
>

Hi Stephen, and Alan,

Stephen, if you can lay your hands on that clip I would like to see it, thanks.

Alan also sent a few lines of code that I haven't had an opportunity to study yet.

This all started a few days ago when soneone on the Clips list wanted to do Filenames and Sizes. I dislike columns of numbers that don't line up so for my own satisfaction I have been working on the problem.

About midnight on June 30, I stumbled across the answer so I'll include the finished clip anyone wanting and willing can try it. Here it is;

... This is a P.S. I forgot to mention, I you have an extremely long filename, say in this case, over 40 characters the clip will error out. When I ran the

Message 7 of 10
, Jul 1, 2001

0 Attachment

Harvey R Savage wrote:

>
> Stephen Riddle wrote:
>
> > "Harvey R. Savage" wrote:
> > >
> Hi Stephen, and Alan,
>
> Stephen, if you can lay your hands on that clip I would like to see it, thanks.
>
> Alan also sent a few lines of code that I haven't had an opportunity to study yet.
>

This is a P.S.

I forgot to mention, I you have an extremely long filename, say
in this case, over 40 characters the clip will error out. When I
ran the clip on my Windows folder I hit a filename that was 55
characters. The way clip is set up now it should handle
fileSizes up to, and including, 8 digits, that would be a
filesize of up to 99999999 bytes. Any thing larger would
probably error out also.

... Seems like that happens a lot. Someone asks what they think is a simple question and a bunch of us get all excited and have fun. Would be nice to know if

Message 9 of 10
, Jul 1, 2001

0 Attachment

thefrank wrote:

>

> My notes say that Stephen, Wheeler, Dan, and myself were involved in
> that thread, but there may have been others. Seems I recall the
> person who started the thread was never heard from again...
>
>

Seems like that happens a lot. Someone asks what they think is a simple
question and a bunch of us get all excited and have fun.
Would be nice to know if we answer the question though.
<sigh>Guess manners can't be legislated. </sigh>
T'care
Stephen

Don Passenger

I have benefitted several times from people writing clips which were better, more advanced, worked when mine didn t. I often write directly to the person to

Message 10 of 10
, Jul 1, 2001

0 Attachment

I have benefitted several times from people writing clips which were better,
more advanced, worked when mine didn't. I often write directly to the
person to thank them. Frankly, thank you type of messages are considered
bad form on several of the lists I belong to because they don't advance the
topic.

It all depends on how quickly the help gets there .... and sometimes the
clip is to achieve a one time data conversion or something so no matter how
good it gets ... I had one like that a while back where on day two of the
excitement I used the clip rendered by the "group" and on day three or so
someone did it in about one line instead of the 25 the committee used.

Sometimes the end product is awesome and used over and over. A good example
of excitement paying off was when we started the "snatch a web-safe" color
thread. We wrote a clip to get the color from an outside source (freeware
program) and the frank instead writes a great clip to put the colors in the
clip bar (which I need to go get again after a meltdown this weekend ....
sigh hard disk wiped). I used the ultimate output. I was also duly
impressed by the generate a page on the fly clip in the middle of the
thread.

>
>
> thefrank wrote:
> >
>
> > My notes say that Stephen, Wheeler, Dan, and myself were involved in
> > that thread, but there may have been others. Seems I recall the
> > person who started the thread was never heard from again...
> >
> >
> Seems like that happens a lot. Someone asks what they think is a simple
> question and a bunch of us get all excited and have fun.
> Would be nice to know if we answer the question though.
> <sigh>Guess manners can't be legislated. </sigh>
> T'care
> Stephen
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

Your message has been successfully submitted and would be delivered to recipients shortly.