Re: Help with Opening and Saveing file data...
- Posted by Wayne Overman <euman at BELLSOUTH.NET> Aug 13, 2000
- 2559 views
Hello Alex I think that you should read alittle of the documentation that comes with Euphoria. I find myself also asking for help on a particular problem but, have found that if you try to figure a problem out first you'll be better off. I need help right now on useing <TAB> inside of ComboBox in Windows but, haven't had anyone give me pointers on the subject. I can look up how to info in the MS SDK but dont know how to convert that into code useable with win32lib. For now, here's a few pointers I can share with you. integer fn 1. fn = open("filename.mws", "w") write the info you want useing methods obtained from others or RDS (Euphoria) such as puts 2. fn = open("filename.mws", "r") read the info you just wrote. I know, this may sound abit smartass but, it's for your own good to look at the language documentation. P.S I submitted an E-mail to the list just today that writes to a .edb database file closes the file after saveing then reads in the information. The E-Mail titled: Wayne Overman Re: TreeView 8/13/00 5:29PM ----- Original Message ----- From: "Alex Ford" <FFUltimateMaster at CS.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Sunday, August 13, 2000 6:27 PM Subject: Help with Opening and Saveing file data... > Operating System: Windows > Euphoria: Windows > Program Type: Role Playing Game > > I need help opening and saveing data files... What i would like to do, is > have a menu come up to load a game file (save.mws). and i would like it so > when saveing you can save with any name, but the file extention is named > .mws... When loading the .mws how would it read the file? And how would i > make it so that the load option doesn't open anything else but .mws? > > ~thanks~ > PS: This is gunna be tough, huh? >