set array function

Richard Kreiss rkreiss at gccconsulting.net
Thu Feb 3 22:48:37 PST 2011


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.  

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.

All of the arrays use set to populate them.  I have checked my program for
allocation[ to see if I had inadvertently used allocation[mt+N]="", No .

Anyone have any idea why this would occur?

I could easily check the 5th element from the mt position to see if it is
blank and fill it in manually, but it seems strange that set would leave
this element blank for all record groups processed.




Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
  






More information about the Filepro-list mailing list