Welcome to Programming LiveCode Q&A, where you can ask questions and receive answers from other members of the community.

Please, ask questions about the book only. If possible, mention section or page number. Don't ask for opinions, ask clear and direct questions only.

Go to main site

Quick Links

Frequently Asked Questions

Errata (1st print)

Replacing crlf by cr when importing from URL

+1 vote
p. 177

You suggest to replace crlf with cr after reading a textfile from an URL. However, in the dictionary, a note specifies:

Likewise, if you put data into a fileURL or get data from it, end-of-line translation is performed, but not if you put data into or get data from a binfileURL.

Is this automatic translation really limited to local files ? Or is your replace statement just a precaution ?
asked Jun 10, 2013 by jhausser (730 points)
retagged Jun 11, 2013 by mark

1 Answer

+1 vote
The translation is limited to local files.
answered Jun 11, 2013 by mark (3,090 points)