Okay, that sounds close to what I'm doing. And yes, I have to leave the file in the order that it is in so I can't really do a SORT.
What if I do this:
Example:
I set the score sum to zero.
The first record is read in and it's score is 90.
Move 90 to low score AND score-hold.
Read next record...
I've got a salary field with a PIC 9(5)v99.
On my printout the salary shows up okay.
However, if I don't want to reveal the salary how do I put make it blank. I don't want zeroes.....I want nothing showing.
FYI, I have names and positions that also print out with the salaries. I want the...
Hmmm, I don't get this part:
"Now, for each player, read the first record (= lowest score), discard it, then read the next three, everage the scores and print the result for that player."
How do you know if the first record is the lowest record? Or are you intentionally making it...
I'd like to create a program where I read four score records for one player. So each player has a set of four records, each record contains a score, along with his player number. I want to throw out the lowest score and average the three highest, then print out that average, with the player...
Hey thanks for link to that site. Some of the links in there are dead but the ones that work have information that I'm definitely looking for.
Thanks again! :)
Hi there,
Can you tell me what this does:
perform varying sub from +1 by +1 until sub > +4
move ai-name(sub) to p1-name(sub)
....
end-perform
write ..... from p1.
write ..... from p2.
etc.
I may not be understanding the logic - it seems like it would place the 5th record on...
I'm really new at this so here goes. If you need me to detail my question more then let me know.
I'd like to create some mailing labels that run four labels to each row. Each label has three lines and each label is a different record. So I would define my lines as Name1, Address1, Town1 for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.