set array function

Richard Kreiss rkreiss at verizon.net
Fri Feb 4 07:58:49 PST 2011



> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
> [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
> Behalf Of Kenneth Brody
> Sent: Friday, February 04, 2011 10:16 AM
> To: rkreiss at gccconsulting.net
> Cc: 'filePro Mailing List'
> Subject: Re: set array function
> 
> On 2/4/2011 1:48 AM, Richard Kreiss wrote:
> > Having an odd problem with this function.
> >
> > Mt is the starting date within a 48 element array.  As each record is
> > processed, its position based on the pay date is calculated (mt).
> >
> > Amount=payment/"12"
> >
> > Set allocation,mt,amount,"11"
> >
> > What I am finding is that within each 12 month period, the 5th element
> > is blank.
> 
> What are the actual values of "mt" and "amount"?
> 
> How, exactly, is the array "allocation" defined?
> 
> > There are 7 other arrays which use set aaaaa,mt,"11" to populate the
> > proper array elements and none of them have the 5th element blank.
> 
> How are those arrays defined, and what are the values passed to SET for
> them?

DIM ALLOCATION(48)(7,,2)

Export to insure that each element of the array was set to output during the
export.

The only thing that it may be is an error in the program as this may be the
last element in a 12 element range and gets a different value.

I need to debug this to see if this is the problem and not the set command.

Richard


> 
> [...]
> 
> --
> Kenneth Brody
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list




More information about the Filepro-list mailing list