Search found 4 matches
- Fri Jun 24, 2011 5:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Writing to text file
- Replies: 8
- Views: 5866
Re: Writing to text file
Thanks all for the assistance with this problem. Can now happily write and read data from file. Just need one more bit of help. Once the data has been read back I have to use the "split" command to get the data back in to an array. The example in the user guide only shows single dimension array. Can...
- Fri Jun 24, 2011 1:40 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Writing to text file
- Replies: 8
- Views: 5866
Re: Writing to text file
Hi SparkOut Thanks for that clarification. Now you mention this I do vaguely remember reading about Livecode's file handling, but this being the first time that I have written software using a multi-platform development system it probably shot under my radar how important the end of line delimiters ...
- Thu Jun 23, 2011 11:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Writing to text file
- Replies: 8
- Views: 5866
Re: Writing to text file
Hi Klaus Thank you for the quick response and it worked exactly as I needed it too. Now that I have the code doing what I need it raises a couple of questions, and if you could answer them I would be grateful. 1) Referring to my original code. Why does it convert special characters like LF to CR? (t...
- Thu Jun 23, 2011 7:58 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Writing to text file
- Replies: 8
- Views: 5866
Writing to text file
Hi, I am needing some assistance with a problem I am having when writing to a text file. The data is writing to the file okay, but where I expect to see LF (ascii value hex 0A) as the separator what I get is a CR (ascii value hex 0D). I have tried other separator combinations, for example CRLF and w...