bupel
New Member
Posts: 4
|
Post by bupel on Mar 8, 2008 2:07:06 GMT -5
I have a LB program that I want to save the results (basically all variables and calculated variable) in a report format. The user will want to choose the directory and name to same the results in. As I understand it it will save in the same directory as the base program is. The idea is the user uses the program to make some calculations saves that set of variables . Then the next time he runs the program he has a new set of input variable and gets a new set of calculations. This is basically an engineering thing. I also want to Lprint but I think I know can figure out how to do that it is this saving the inputs and results that I haven't got figured out yet. Can anyone help?
|
|
|
Post by Alyce Watson on Mar 8, 2008 6:48:19 GMT -5
I have a LB program that I want to save the results (basically all variables and calculated variable) in a report format. The user will want to choose the directory and name to same the results in. As I understand it it will save in the same directory as the base program is. The idea is the user uses the program to make some calculations saves that set of variables . Then the next time he runs the program he has a new set of input variable and gets a new set of calculations. This is basically an engineering thing. I also want to Lprint but I think I know can figure out how to do that it is this saving the inputs and results that I haven't got figured out yet. Can anyone help? Hi Bupel, This forum is for discussion of my software, specifically. It's not a good place to ask questions about Liberty BASIC coding. You'll get much better and faster answers here: libertybasic.conforums.com/In fact, there was a similar discussion there very recently. You'll want to write your info to a file. See the helpfile category on Language Syntax and Usage, then the sub-category on File Operations. You'll open a file for output or append to write the info. The next time you run the program, you'll open the file for input to read the contents.
|
|
bupel
New Member
Posts: 4
|
Save as
Mar 8, 2008 11:03:29 GMT -5
Post by bupel on Mar 8, 2008 11:03:29 GMT -5
Thanks for pointing me in the correct direction. I suppose someday I will get rid of my babyhood and learn this windows stuff. I used to program in basic way back before windows and then started using commercial programs Including excel to do my engineering stuff. Now I want to develop stand alone like the good old days.
|
|