Summing lists in directory structure
|
09-15-2017, 08:51 PM
(This post was last modified: 09-15-2017 09:12 PM by Gilles59.)
Post: #5
|
|||
|
|||
RE: Summing lists in directory structure
(09-14-2017 11:17 AM)brickviking Wrote: Now I'm wondering how to add together all the TOTALs in each folder to give me a sum at the end? Hi Brick put this program in your grocery directory Code: TYear And you get the total. But this suppose that all your directory structure (JAN FEB etc) is created and that the TOTAL object exits in each directory. If the TOTAL sometimes does not exist : Code: « Quote:I'm sure that if I could run a program in the GROCERIES folder iterating over each month To create, calculate or update automatically the TOTAL for a month, here is an idea : Code: 'TMonth' STOre this in your grocery directory. Usage : 'JAN' TMonth Warning : flag -86 must be set or type once 256 ATTACH To update all automaticaly and calculate months and year total, you can put this program in your grocery directory : Code: << {'Jan' 'Feb' .... 'Dec'} << TMonth >> DOSUBS TYear >> What is your MONTOT object for ? EDIT : I dont know how you create your RPL program, but I suggest you to use HPUserEdit with Emu48 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)