From: Matt Lawrence Date: 2013-05-20T05:31:20+09:00 Subject: Re: new, with an idea, and not sure what to learn next On Mon, 20 May 2013, Wendy Randquist wrote: > But I want to be able to run this program multiple times... one of my > problems here is that, I can create an array with my hours, then ask for > input (how many hours today? for instance), and add the input into that > array, then sum all of the hours in the array. But once the program is > finished running and I run it again... the array is back to square one. > What kind of knowledge do I need to make it so I can create a program > that would save new data even after I closed it? What do I need to start > googling, above and beyond Ruby syntax, to understand how to do a > project like this? What other sources are there for learning how to do > things like divide time in pay periods and having the program deal with > real-time? You need some form of persistent data storage. For me, I had a similar problem recently so I set up MySQL and am using the Sequel gem to provide a simplistic (and not even relational) data store. Using Sqlite would be even easier for your application. -- Matt It's not what I know that counts. It's what I can remember in time to use.