open file & read from file vs get URL
doug at webcrossing.com
Mon Feb 16 07:42:38 CST 2004
I see. That is helpful. Thanks.
On 2/16/04 10:17 PM, "Bj＾rnke von Gierke" <bvg at mac.com> wrote:
> URL is simpler to use, as you don't need to care about mode or closing
> the file again. This it is far simpler and more comfortable to use.
> put "another line" & return before URL "file:file/path/here/file.txt"
> put empty into URL "file:textfile.txt"
> get word 1 of line 2 of URL "file:source.txt"
> The read-, open- and write-file commands don't put the whole file into
> memory, so if your file's are huge, then that is an advantage (In so
> far as I reckon that is the only advantage of these over URL)
> On Montag, Feb 16, 2004, at 10:18 Europe/Zurich, Doug Lerner wrote:
>> I have been using open file and read from file. The docs, however,
>> "As an alternative to the open file, read from file, and write to file
>> commands, you can also use the URL keyword with get, put, and other
>> to access the contents of a file."
>> Is there an advantage to one method over the other?
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode