Re: open file & read from file vs get URL
I see. That is helpful. Thanks. (B (Bdoug (B (BOn 2/16/04 10:17 PM, "Bj$B!0(Brnke von Gierke" <[EMAIL PROTECTED]> wrote: (B (B> URL is simpler to use, as you don't need to care about mode or closing (B> the file again. This it is far simpler and more comfortable to use. (B> Examples: (B> put "another line" & return before URL "file:file/path/here/file.txt" (B> put empty into URL "file:textfile.txt" (B> get word 1 of line 2 of URL "file:source.txt" (B> (B> The read-, open- and write-file commands don't put the whole file into (B> memory, so if your file's are huge, then that is an advantage (In so (B> far as I reckon that is the only advantage of these over URL) (B> (B> On Montag, Feb 16, 2004, at 10:18 Europe/Zurich, Doug Lerner wrote: (B> (B>> I have been using open file and read from file. The docs, however, (B>> note: (B>> (B>> "As an alternative to the open file, read from file, and write to file (B>> commands, you can also use the URL keyword with get, put, and other (B>> commands (B>> to access the contents of a file." (B>> (B>> Is there an advantage to one method over the other? (B>> (B>> doug (B>> (B>> ___ (B>> use-revolution mailing list (B>> [EMAIL PROTECTED] (B>> http://lists.runrev.com/mailman/listinfo/use-revolution (B>> (B> (B> ___ (B> use-revolution mailing list (B> [EMAIL PROTECTED] (B> http://lists.runrev.com/mailman/listinfo/use-revolution (B (B___ (Buse-revolution mailing list (B[EMAIL PROTECTED] (Bhttp://lists.runrev.com/mailman/listinfo/use-revolution
Re: open file & read from file vs get URL
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. Examples: 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, note: "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 commands to access the contents of a file." Is there an advantage to one method over the other? doug ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
open file & read from file vs get URL
I have been using open file and read from file. The docs, however, note: "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 commands to access the contents of a file." Is there an advantage to one method over the other? doug ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution