Cannot Solve My Problem

haroldef haroldef at sbcglobal.net
Sat Mar 24 16:29:07 PDT 2012


Hi,

I notice that the Per Year and Each Year columns are not lining up, and 
cannot make them do so.  Also, ZN is the last two numbers in the year.

I also want to thank those that responded.  Thank You.

I am having trouble with a printout, probably because of my age.  I have 
done this in the past, but cannot do it now.  I am keeping a list of my 
fellow Navy guys that was on my ship while it was commissioned for my 
Navy Reunion Group.  A report has been developed that shows the number 
of new men that have been found per year, for example:

MEMBERS SIGNED UP PER YEAR

YEAR            PER YEAR            EACH YEAR

1989                 132                            132
1990                   24                            156
1991                   10                            166
1992                   16                            182
1993                     3                            185
1994                   22                            207
1995                   14                            221
1996                   29                            250
1997                 140                            390
1998                   66                            456
1999                   27                            483
2000                   25                            508
2001                   79                            587
2002                 216                            803
2003                 121                            924
2004                   49                            973
2005                   51                          1024
2006                   26                          1050
2007                   19                          1069
2008                   18                          1087
2009                   17                          1104
2010                     6                          1110

I cannot get the year 2011 and 2012 to show up,Of course we have not had 
any new members in 2012, but we had six in 2011.So, how do I include 
those who joined in 2011, which hits the end of the file?

The program is:

:'NOTE-- YT IS FOUR DIGIT YEAR; RN IS RECORD NUMBER:'ZN IS TWO DIGIT 
YEAR, NB IS THE NUMBER OF NEW MEMBERS IN A YEAR:

::'TM=Total For Each Year:

:YT NE "":GOTO LINE:'YT=Each Year Since 1989
::ZN=63;ID=63;YT="1989";NB="0";tm="":
LINE:ZN NE ID:GOTO PRT:
::NB=NB+"1";END:
PRT::DEBUG ON:
::tm=tm+nb;PRINT:
:ZN="99":ZN="00";yt=yt+"1";nb="0";END:
::ZN=ZN+"1";yt=yt+"1";nb="0";END:




More information about the Filepro-list mailing list