write fails

Pat Trendler ptrendler at bigpond.com
Thu Aug 25 09:28:49 EDT 2005


Jon,

I think you need to "open file" before writing to it, or, alternatively use 
the "put URL"

See the docs for detail.

Pat
patrend at bigpond.com

----- Original Message ----- 
From: "Jon" <jbondy at sover.net>
To: "Revolution List" <use-revolution at lists.runrev.com>
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 at 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
>
> 




More information about the use-livecode mailing list