Re: saving settings
Paul, Without seeing your handler, it's hard to identify what you are doing exactly, but have you declared the globals? on saveSettings tFolderName global gData1,gData2,gData3,gData4,gData5 get quotegData1quotecomma\ quotegData2quotecomma\ quotegData3quotecomma\ quotegData4quotecomma\ quotegData2quote put it into url (file: tFolderName /settings.txt) end saveSettings HTH /H - I'm trying to get my program to save information into a text file. I'm using this format, is something wrong? put gDate1 gDate2 gDate3 gDate4 gDate5 cr \ into url (file: tFolderName slash settings.txt) It's saving gData1 instead on the information help in gData1 These are global settings but they do not change. I want them do come out like so: Settings1,Settings2,Settings3,Settings4,Settings5 They must be in this format to be compatible with VB programs not yet converted to Rev. Please help Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org - ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: saving settings.
Paul Salyers wrote: Dear Rev Programmer, I'm trying to get my program to save information into a text file. I'm using this format, is something wrong? put gDate1 gDate2 gDate3 gDate4 gDate5 cr \ into url (file: tFolderName slash settings.txt) It's saving gData1 instead on the information help in gData1 gDate1 or gData1 ? These are global settings but they do not change. I want them do come out like so: Settings1,Settings2,Settings3,Settings4,Settings5 i.e. with the quotes ?? Do you, by any chance, actually have a line like the following ? put gData1 gData2 etc. You would probably want put quote gData1 quote comma quote gData2 etc. or perhaps put quote comma quote into myBetween put quote gData1 myBetween gData2 myBetween etc. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: saving settings.
You would probably want put quote gData1 quote comma quote gData2 etc. or perhaps put quote comma quote into myBetween put quote gData1 myBetween gData2 myBetween etc. -- Alex Tweedly http://www.tweedly.net Close I now have: gData1,gData2,gData3,gData4,gData5 At least the quotes comas are in place but the information in the data is not getting saved. I used: put quote gData1 quote comma quote gData1 quote comma quote gData1 quote comma quote gData1 quote comma quote gData1 Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: saving settings.
Well that why you are only getting the data from gData1 everywhere. Look at what you used! Dennis On Apr 30, 2005, at 5:53 PM, Paul Salyers wrote: You would probably want put quote gData1 quote comma quote gData2 etc. or perhaps put quote comma quote into myBetween put quote gData1 myBetween gData2 myBetween etc. -- Alex Tweedly http://www.tweedly.net Close I now have: gData1,gData2,gData3,gData4,gData5 At least the quotes comas are in place but the information in the data is not getting saved. I used: put quote gData1 quote comma quote gData1 quote comma quote gData1 quote comma quote gData1 quote comma quote gData1 Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: saving settings.
it's data1, data2, etc. At 05:10 PM 4/30/2005, you wrote: Well that why you are only getting the data from gData1 everywhere. Look at what you used! Dennis On Apr 30, 2005, at 5:53 PM, Paul Salyers wrote: You would probably want put quote gData1 quote comma quote gData2 etc. or perhaps put quote comma quote into myBetween put quote gData1 myBetween gData2 myBetween etc. -- Alex Tweedly http://www.tweedly.net Close I now have: gData1,gData2,gData3,gData4,gData5 At least the quotes comas are in place but the information in the data is not getting saved. I used: put quote gData1 quote comma quote gData1 quote comma quote gData1 quote comma quote gData1 quote comma quote gData1 Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org (918) 465-7426 -- Cell (918) 967-1013 -- Home ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: saving settings.
On 4/30/05 4:53 PM, Paul Salyers wrote: Close I now have: gData1,gData2,gData3,gData4,gData5 At least the quotes comas are in place but the information in the data is not getting saved. I used: put quote gData1 quote comma quote gData1 quote comma quote gData1 quote comma quote gData1 quote comma quote gData1 When you get the name of the variable instead of the contents, it is almost always because nothing has been put into the variable to initialize it. Your variable names start with g -- are they intended as global variables? Are they declared as globals? Also, try this in the message box: global gData1;put gData1 Does the message box show a value? -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution