On Monday 09 July 2012 19:55:12 andy pugh did opine:

> On 9 July 2012 16:35, Gene Heskett <[email protected]> wrote:
> > After it failed, I put some (debug, print vars) in
> > it and found it seems to be prematurely exiting that first 'while'
> > when the x_dec var is still around .020".
> 
> Not here. It runs through the while loop until x_div = 15, so that
> looks like 15 iterations of the loop.

Look at the debug out, x_dec never gets down to 0.015, the last printout 
shows x_dec at about 0.020xxx.

That is what it did here too, but x_dev=15 leaves x_dec at about .020, 
which doesn't satisfy the while, it (x_div) needs to be about 20-21 to 
satisfy the while.

There is a nagation of x_dec, and a debug print to show it immediately 
after the first endwhile, and it is not being executed either.

Is it possible to have varnames too long?  I haven't noted a max string 
length in what I have read about named vars.

> Incidentally, I suspect you could get the same result using the FUP[]
> function: #<_x_div> = [ FUP[ #<_total_cut> / 0.015 ]]
> #<_x_dec> = [#<_total_cut> / #<_x_div>]

Thanks Andy, I'm always looking for a better solution & that just might be 
it.  But probably not tonight, I've been doing property tax prep all day & 
am about beat mentally.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
"You know, we've won awards for this crap."
                -- David Letterman

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to