Re: Cold Panic

2006-09-28 Thread Sarah Reichelt
On 9/28/06, Dar Scott <[EMAIL PROTECTED]> wrote: On Sep 27, 2006, at 9:18 PM, Sarah Reichelt wrote: > You don't define mfile anywhere in this script, so I would guess it is > reading a non-existent file and returning the contents - nothing. You cheated! You actually took the time to read his

Re: Cold Panic

2006-09-27 Thread Dar Scott
On Sep 27, 2006, at 9:18 PM, Sarah Reichelt wrote: You don't define mfile anywhere in this script, so I would guess it is reading a non-existent file and returning the contents - nothing. You cheated! You actually took the time to read his script! Dar __

Re: Cold Panic

2006-09-27 Thread Sarah Reichelt
On 9/28/06, Robert Sneidar <[EMAIL PROTECTED]> wrote: Okay I went back and checked the permissions thing. I have read and write to it and I copied the file to my desktop to make sure. Permissions are not the issue. But I am getting empty when I read from the file now, whereas before "it" never ch

Re: Cold Panic

2006-09-27 Thread Mark Smith
Robert, not that this should make a difference, but have you tried 'open file mfile for read'? Maybe it's a bit pickier on Intel... best, Mark On 27 Sep 2006, at 23:47, Robert Sneidar wrote: Hi Chipp. For this example put URL works fine. (I have both methods in the script now to test each

Re: Cold Panic

2006-09-27 Thread Dar Scott
On Sep 27, 2006, at 4:37 PM, Robert Sneidar wrote: open file mfile put the result into mres -- mres is empty here indicating a successful open I guess you put it in the message box or something? read from file mfile at 1 until eof Check the name of the file mfile. If you

Re: Cold Panic

2006-09-27 Thread Devin Asay
Bob, I'm curious. Try this change and see what happens. On Sep 27, 2006, at 4:37 PM, Robert Sneidar wrote: Okay I went back and checked the permissions thing. I have read and write to it and I copied the file to my desktop to make sure. Permissions are not the issue. But I am getting empty

Re: Cold Panic

2006-09-27 Thread Robert Sneidar
Hi Chipp. For this example put URL works fine. (I have both methods in the script now to test each one). But I also have a program that opens a Foxpro table and reads the header bits at a time, and this is dependent on the ability to read from file recursively. The bottom line is, it worked

Re: Cold Panic

2006-09-27 Thread Robert Sneidar
Okay I went back and checked the permissions thing. I have read and write to it and I copied the file to my desktop to make sure. Permissions are not the issue. But I am getting empty when I read from the file now, whereas before "it" never changed when I read from a file. BTW I AM running

Re: Cold Panic

2006-09-27 Thread Robert Sneidar
Ya know I opened the file in a text editor without a problem, but did not try to write to it, thinking that since I only tried to read from it in Revolution I should be able to do so. I should get the result when I open a file anyways but thsi was a quick and dirty utility. I will give that

Re: Cold Panic

2006-09-27 Thread Robert Sneidar
Hi all thanks for the reply. In the original code it WAS eof and was not working then. To reiterate, before I moved from the G4 laptop (that I later dropped) to the Intel laptop, all was well. NO coding changes took place. I migrated to the Intel machine using Apple's Migration Assistant an

Re: Cold Panic

2006-09-26 Thread Chipp Walters
Why not just: put URL ("file:" & mfile) into fld "code" ?? ___ 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/listin

Re: Cold Panic

2006-09-26 Thread Devin Asay
Bob, I've seen this exact behavior when trying to read a file for which I do not have write permission. (If memory serves, checking the result right after the open file or read from file with give you an error message.) Try using open file myfile for read before you do read from file. Ei

Re: Cold Panic

2006-09-26 Thread Mark Schonewille
Hi Robert, What happens if you replace END with EOF? For a "low level file" you usually need a script similar to open file myFile for binary read read from file myFile until EOF close file myFile -- it now contains the binary data It may help to check the result after the open and the

Re: Cold Panic

2006-09-26 Thread Stephen Barncard
read from file mfile at 1 until END shouldn't that be read from file mfile at 1 until eof ? This script was working on a PowerPC based G4 laptop. I dropped the laptop whacking the backlight, but that is another story. I was able to import all my programs and data to a brand spanking

Re: Cold Panic

2006-09-26 Thread Jim Ault
Sounds like a glitch in the code block. Try opening the 'problem' stack copy the mouseUp script to a word processor quit Rev launch Rev to get a clean environment do "New Mainstack" copy the script to the stack script, apply then double click on the card to run this Should work. If so, then I

Cold Panic

2006-09-26 Thread Robert Sneidar
This script was working on a PowerPC based G4 laptop. I dropped the laptop whacking the backlight, but that is another story. I was able to import all my programs and data to a brand spanking new Intel Macbook Pro. Now this script is NOT working. THE IT variable does NOT CHANGE when I read