Keith Clarke wrote:
> It’s interesting that the url container can be addressed directly,
> instead of loading the file
get url ("file:"& tFile)
...does the same as:
open file tFile for read
read from file until EOF
close file tFile
It's just more convenient than using the three-line method (which can be
very useful if you need for fine-grained control over the read, such as
reading in chunks or from a particular offset).
Unless your files are much bigger than 100 MBs you should find loading
them into memory well worth the effort for the time saved parsing them thee.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
ambassa...@fourthworld.com http://www.FourthWorld.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode