RE: write fails
Thanks, That makes sense, if appending is just adding on to the end of the file on the disk, and not bothering to load the file up into memory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brenstein Sent: Thursday, August 25, 2005 1:03 PM To: How to use Revolution Subject: RE: write fails >Thanks Ken! > >So, you could say: > >Put tMyText after URL(tFileURL) > >But, would this be just as good as opening a file for append, then >adding information to that file? > >Basically, does the open/append/add method load the entire file into >memory, then add the text, then write the new text back to disk? Does >the put after URL method do that? I haven't done any testing with newer versions of Rev but I investigated this a couple years ago when adding a logging function to my web cgi. Using the open for append/write/close was determined to be somewhat more efficient than the url method (and confirmed by Scott Raney at that time). Robert ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: write fails
At 1:18 PM -0500 8/25/2005, Ken Ray wrote: apparently the engine doesn't require there to be a space after keywords where there is something to evaluate that follows. [...] repeat while(x+1) < 10 put word(x+1) of "This is a test" Although this is consistent, it still *looks* wrong to me... it looks like "while" and "word" are functions in the example above. Is it just me, or is this a bug that has been in the engine for a long time? Well, it's been in the engine a long time. I'm not sure I'd categorize it as a bug, per se... more of a "forgiveness" feature of the parser. This kind of forgiveness appears in other areas too - for example, you can write "firstVar&&secondVar" with no spaces, or "get rect of field 1" (with no "the") and it will work. I think the upside is that the syntax is a little looser, but the downside is that someone may get used to an erroneous way of writing code, only to get into trouble if it gets tightened up down the line -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: write fails
On 8/25/05 11:55 AM, "Jeanne A. E. DeVoto" <[EMAIL PROTECTED]> wrote: > At 11:22 AM -0500 8/25/2005, Ken Ray wrote: >> Yes, you can, but remember that URL is both a keyword and a function, and >> although it can work without parentheses for some file operations (like >> "into"), it doesn't work when using "after" or "before" without using >> parentheses, and can be touchy at other times. >> >> So I think we've been "getting away" with saying: >> >> put data into url "file:c:/my documents/test.txt" >> >> when we really should be saying: >> >> put data into url("file:c:/my documents/text.txt") > > I'm afraid that's not right, Ken. URL isn't a function, and while > your example will work, Rev might not always let you get away with > leaving out the space after "URL". > > The reason you need to use parentheses in statements like > get URL ("file:" & myURL) > is that URL resolution comes before "&" when resolving expressions. > (Ken can stop reading here, since he's an expert and knows what that > implies, but for everyone else: ;-) Thanks for the correction, Jeanne... I think what threw me is that apparently the engine doesn't require there to be a space after keywords where there is something to evaluate that follows. So what appeared to me as a function: put URL("file:" & myURL) was really something that Rev was allowing me to construct. I tested this with the "while" keyword, and it turns out that this is perfectly valid: put 1 into x repeat while(x+1) < 10 put x after msg add 1 to x end repeat ... as is this using the keyword "word": on mouseUp put 1 into x put word(x+1) of "This is a test" end mouseUp Although this is consistent, it still *looks* wrong to me... it looks like "while" and "word" are functions in the example above. Is it just me, or is this a bug that has been in the engine for a long time? Just curious, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: write fails
Thanks Ken! So, you could say: Put tMyText after URL(tFileURL) But, would this be just as good as opening a file for append, then adding information to that file? Basically, does the open/append/add method load the entire file into memory, then add the text, then write the new text back to disk? Does the put after URL method do that? I haven't done any testing with newer versions of Rev but I investigated this a couple years ago when adding a logging function to my web cgi. Using the open for append/write/close was determined to be somewhat more efficient than the url method (and confirmed by Scott Raney at that time). Robert ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: write fails
Excellent approach, Eric! Eric Chatonet wrote: Hi Jon, I'm used to another method which works well for me: put "C:/RHOADS/EEOL2/Logs/log.txt" into tLogFilePath put the date & " " & the long time & " " & m into tData - put url("file:" & tLogFilePath) into tLog if tLog = empty then put tData into url("file:" & tLogFilePath) else put tLog & cr & tData into url("file:" & tLogFilePath) The advantage is that Rev creates the file if it does not exists and overwrites the previous file if it already exists. If you want be compliant with Mac OS, add a fileType setting :-) Le 25 août 05 à 15:09, Jon a écrit : I'm trying to log activity to a file with what I thought was a simple approach: put the date & " " & the long time & " " & m & Return into s write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end The file is not created automatically; after creating the file manually, the file remains empty; the path was copy-and-pasted from Windows Explorer, so I know it is correct; the string "s" has reasonable contents as verified with the Variable Watcher; and there are no run-time errors. Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: write fails
At 11:22 AM -0500 8/25/2005, Ken Ray wrote: Yes, you can, but remember that URL is both a keyword and a function, and although it can work without parentheses for some file operations (like "into"), it doesn't work when using "after" or "before" without using parentheses, and can be touchy at other times. So I think we've been "getting away" with saying: put data into url "file:c:/my documents/test.txt" when we really should be saying: put data into url("file:c:/my documents/text.txt") I'm afraid that's not right, Ken. URL isn't a function, and while your example will work, Rev might not always let you get away with leaving out the space after "URL". The reason you need to use parentheses in statements like get URL ("file:" & myURL) is that URL resolution comes before "&" when resolving expressions. (Ken can stop reading here, since he's an expert and knows what that implies, but for everyone else: ;-) If you write something like get URL "file:" & myURL the engine thinks you mean "get URL 'file:', then concatenate it to the variable 'myURL'". Since "file:" by itself isn't a valid URL, you don't get what you want. Adding the parentheses forces the engine to do the concatenation first, so you get the URL you're seeking. But in this case, the parentheses have nothing to do with a function call; they're there to straighten out the order in which the engine does the operations to get the final value of the expression, 'URL "file:" & myURL'. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: write fails
Thanks Ken! So, you could say: Put tMyText after URL(tFileURL) But, would this be just as good as opening a file for append, then adding information to that file? Basically, does the open/append/add method load the entire file into memory, then add the text, then write the new text back to disk? Does the put after URL method do that? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray Sent: Thursday, August 25, 2005 12:22 PM To: Use Revolution List Subject: Re: write fails On 8/25/05 8:41 AM, "Lynch, Jonathan" <[EMAIL PROTECTED]> wrote: > That makes sense. > > I have not tried it, but can one do the same thing by saying?: > > Put tNewText after URL tFileURL Yes, you can, but remember that URL is both a keyword and a function, and although it can work without parentheses for some file operations (like "into"), it doesn't work when using "after" or "before" without using parentheses, and can be touchy at other times. So I think we've been "getting away" with saying: put data into url "file:c:/my documents/test.txt" when we really should be saying: put data into url("file:c:/my documents/text.txt") For example, this will fail to compile: answer file "Get a file:" if it <> "" then put "hello" into url "file:"&it end if But this compiles fine: answer file "Get a file:" if it <> "" then put "file:" & it into tFile put "hello" into url tFile end if Better yet would be to use parentheses instead: answer file "Get a file:" if it <> "" then put "hello" into url("file:"&it) end if Just my 2 cents, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: write fails
On 8/25/05 8:41 AM, "Lynch, Jonathan" <[EMAIL PROTECTED]> wrote: > That makes sense. > > I have not tried it, but can one do the same thing by saying?: > > Put tNewText after URL tFileURL Yes, you can, but remember that URL is both a keyword and a function, and although it can work without parentheses for some file operations (like "into"), it doesn't work when using "after" or "before" without using parentheses, and can be touchy at other times. So I think we've been "getting away" with saying: put data into url "file:c:/my documents/test.txt" when we really should be saying: put data into url("file:c:/my documents/text.txt") For example, this will fail to compile: answer file "Get a file:" if it <> "" then put "hello" into url "file:"&it end if But this compiles fine: answer file "Get a file:" if it <> "" then put "file:" & it into tFile put "hello" into url tFile end if Better yet would be to use parentheses instead: answer file "Get a file:" if it <> "" then put "hello" into url("file:"&it) end if Just my 2 cents, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: write fails
That makes sense. I have not tried it, but can one do the same thing by saying?: Put tNewText after URL tFileURL -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, August 25, 2005 9:40 AM To: How to use Revolution Subject: RE: write fails Jon i use open file x for append... For log files, it is crucial not to erase the logs... And while the |put data into url thisurl" is great, and easy but i wouldn't consider it as a good practice if the file is over a certain size... but of course, depends on the application... X [EMAIL PROTECTED] wrote on 25/08/2005 15:34:53: > I never use open, write, close... > > I did at first, but it just never occurs that I need to do it that way. > > The put URL and put into URL methods are so much easier. > > If you have a file named "C:/my documents/my feet stink.txt" then you > would address it like this (in Windows): > > Put "file:C:/my documents/my feet stink.txt" into tFileURL > Put URL tFileURL into tMyText > -- do whatever you need to do with the text > Put tMyNewText into URL tFileURL > > > Now, if you are using binary data, in other words you need to make sure > Revolution does not automatically change end of line markers to its own > format, then put "binfile:" in front of the file path rather than > "file:" > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pat > Trendler > Sent: Thursday, August 25, 2005 9:29 AM > To: How to use Revolution > Subject: Re: write fails > > Jon, > > I think you need to "open file" before writing to it, or, alternatively > use > the "put URL" > > See the docs for detail. > > Pat > [EMAIL PROTECTED] > > - Original Message - > From: "Jon" <[EMAIL PROTECTED]> > To: "Revolution List" > Sent: Thursday, August 25, 2005 11:09 PM > Subject: write fails > > > > I'm trying to log activity to a file with what I thought was a simple > > approach: > > > > put the date & " " & the long time & " " & m & Return into s > > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > > > The file is not created automatically; after creating the file > manually, > > the file remains empty; the path was copy-and-pasted from Windows > > Explorer, so I know it is correct; the string "s" has reasonable > contents > > as verified with the Variable Watcher; and there are no run-time > errors. > > > > Any thoughts? > > > > :) > > > > Jon > > > > ___ > > use-revolution mailing list > > use-revolution@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Anti-Virus. > > Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: > 24/08/2005 > > > > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution - Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: write fails
Jon i use open file x for append... For log files, it is crucial not to erase the logs... And while the |put data into url thisurl" is great, and easy but i wouldn't consider it as a good practice if the file is over a certain size... but of course, depends on the application... X [EMAIL PROTECTED] wrote on 25/08/2005 15:34:53: > I never use open, write, close... > > I did at first, but it just never occurs that I need to do it that way. > > The put URL and put into URL methods are so much easier. > > If you have a file named "C:/my documents/my feet stink.txt" then you > would address it like this (in Windows): > > Put "file:C:/my documents/my feet stink.txt" into tFileURL > Put URL tFileURL into tMyText > -- do whatever you need to do with the text > Put tMyNewText into URL tFileURL > > > Now, if you are using binary data, in other words you need to make sure > Revolution does not automatically change end of line markers to its own > format, then put "binfile:" in front of the file path rather than > "file:" > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pat > Trendler > Sent: Thursday, August 25, 2005 9:29 AM > To: How to use Revolution > Subject: Re: write fails > > Jon, > > I think you need to "open file" before writing to it, or, alternatively > use > the "put URL" > > See the docs for detail. > > Pat > [EMAIL PROTECTED] > > - Original Message - > From: "Jon" <[EMAIL PROTECTED]> > To: "Revolution List" > Sent: Thursday, August 25, 2005 11:09 PM > Subject: write fails > > > > I'm trying to log activity to a file with what I thought was a simple > > approach: > > > > put the date & " " & the long time & " " & m & Return into s > > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > > > The file is not created automatically; after creating the file > manually, > > the file remains empty; the path was copy-and-pasted from Windows > > Explorer, so I know it is correct; the string "s" has reasonable > contents > > as verified with the Variable Watcher; and there are no run-time > errors. > > > > Any thoughts? > > > > :) > > > > Jon > > > > ___ > > use-revolution mailing list > > use-revolution@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Anti-Virus. > > Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: > 24/08/2005 > > > > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution - Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: write fails
I never use open, write, close... I did at first, but it just never occurs that I need to do it that way. The put URL and put into URL methods are so much easier. If you have a file named "C:/my documents/my feet stink.txt" then you would address it like this (in Windows): Put "file:C:/my documents/my feet stink.txt" into tFileURL Put URL tFileURL into tMyText -- do whatever you need to do with the text Put tMyNewText into URL tFileURL Now, if you are using binary data, in other words you need to make sure Revolution does not automatically change end of line markers to its own format, then put "binfile:" in front of the file path rather than "file:" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pat Trendler Sent: Thursday, August 25, 2005 9:29 AM To: How to use Revolution Subject: Re: write fails Jon, I think you need to "open file" before writing to it, or, alternatively use the "put URL" See the docs for detail. Pat [EMAIL PROTECTED] - Original Message - From: "Jon" <[EMAIL PROTECTED]> To: "Revolution List" Sent: Thursday, August 25, 2005 11:09 PM Subject: write fails > I'm trying to log activity to a file with what I thought was a simple > approach: > > put the date & " " & the long time & " " & m & Return into s > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > The file is not created automatically; after creating the file manually, > the file remains empty; the path was copy-and-pasted from Windows > Explorer, so I know it is correct; the string "s" has reasonable contents > as verified with the Variable Watcher; and there are no run-time errors. > > Any thoughts? > > :) > > Jon > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: 24/08/2005 > > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: write fails
Jon, I think you need to "open file" before writing to it, or, alternatively use the "put URL" See the docs for detail. Pat [EMAIL PROTECTED] - Original Message - From: "Jon" <[EMAIL PROTECTED]> To: "Revolution List" Sent: Thursday, August 25, 2005 11:09 PM Subject: write fails I'm trying to log activity to a file with what I thought was a simple approach: put the date & " " & the long time & " " & m & Return into s write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end The file is not created automatically; after creating the file manually, the file remains empty; the path was copy-and-pasted from Windows Explorer, so I know it is correct; the string "s" has reasonable contents as verified with the Variable Watcher; and there are no run-time errors. Any thoughts? :) Jon ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: 24/08/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: write fails
Jon you need to open the file first... see Open file... Write file... and close file... Each has it's options too... cheers -=- Xavier [EMAIL PROTECTED] wrote on 25/08/2005 15:09:21: > I'm trying to log activity to a file with what I thought was a simple > approach: > > put the date & " " & the long time & " " & m & Return into s > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > The file is not created automatically; after creating the file manually, > the file remains empty; the path was copy-and-pasted from Windows > Explorer, so I know it is correct; the string "s" has reasonable > contents as verified with the Variable Watcher; and there are no > run-time errors. > > Any thoughts? > > :) > > Jon > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution - Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: write fails
Hi Jon, I'm used to another method which works well for me: put "C:/RHOADS/EEOL2/Logs/log.txt" into tLogFilePath put the date & " " & the long time & " " & m into tData - put url("file:" & tLogFilePath) into tLog if tLog = empty then put tData into url("file:" & tLogFilePath) else put tLog & cr & tData into url("file:" & tLogFilePath) The advantage is that Rev creates the file if it does not exists and overwrites the previous file if it already exists. If you want be compliant with Mac OS, add a fileType setting :-) Le 25 août 05 à 15:09, Jon a écrit : I'm trying to log activity to a file with what I thought was a simple approach: put the date & " " & the long time & " " & m & Return into s write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end The file is not created automatically; after creating the file manually, the file remains empty; the path was copy-and-pasted from Windows Explorer, so I know it is correct; the string "s" has reasonable contents as verified with the Variable Watcher; and there are no run-time errors. Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
write fails
I'm trying to log activity to a file with what I thought was a simple approach: put the date & " " & the long time & " " & m & Return into s write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end The file is not created automatically; after creating the file manually, the file remains empty; the path was copy-and-pasted from Windows Explorer, so I know it is correct; the string "s" has reasonable contents as verified with the Variable Watcher; and there are no run-time errors. Any thoughts? :) Jon ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution