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
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
__
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
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
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
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
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
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
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
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
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
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
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
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
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
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
16 matches
Mail list logo