Re: Comma-Delimited Files on Macs

2011-09-21 Thread Richmond Mathewson
On 09/21/2011 10:49 AM, Richard Gaskin wrote: stephen barncard wrote: MAC OS RANT I always thought that file suffixes were the 'old' method of typing files ( a PC problem ) and vastly inferior to the flexibility offered by the file types property of files. This was a point of OS superiority

Re: Comma-Delimited Files on Macs

2011-09-21 Thread Richard Gaskin
stephen barncard wrote: MAC OS RANT I always thought that file suffixes were the 'old' method of typing files ( a PC problem ) and vastly inferior to the flexibility offered by the file types property of files. This was a point of OS superiority because it didn't rely on users including file suf

Re: Comma-Delimited Files on Macs

2011-09-20 Thread stephen barncard
MAC OS RANT I always thought that file suffixes were the 'old' method of typing files ( a PC problem ) and vastly inferior to the flexibility offered by the file types property of files. This was a point of OS superiority because it didn't rely on users including file suffixes correctly. And users

Re: Comma-Delimited Files on Macs

2011-09-20 Thread Gregory Lypny
Hi Richard, Interesting, didn’t know that. Educating users is, or will be, no mean task, though. Thanks for sharing, Gregory On Mon, Sep 19, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: > Gregory Lypny wrote: > >> Richard, I?m afraid that changing the extension does not c

Re: Comma-Delimited Files on Macs

2011-09-19 Thread Bob Sneidar
Without reading further posts, I am going to say backwards compatibility. Comma delimiting is older than tab delimiting, which if my vague memory serves me came along with the Mac OS at some point. I think the reasoning was that it was much more likely that raw text would contain commas and not

Re: Comma-Delimited Files on Macs

2011-09-18 Thread Richard Gaskin
François Chaplais wrote: > Le 18 sept. 2011 à 21:34, Richard Gaskin a écrit : >> For the data types supported inherently in HC, it's generally okay >> because they don't include in-data commas (dateItems is a good >> example). >> >> But by letting scripters put their own data into such chunks it

Re: Comma-Delimited Files on Macs

2011-09-18 Thread François Chaplais
The itemdelimiter could be set (and got) in Hypercard. Very best, François Le 18 sept. 2011 à 21:34, Richard Gaskin a écrit : > Roger Eller wrote: > >> Why is LiveCode's default delimiter a comma, such as in the dateItems? >> Is it simply because it is visible, whereas a TAB is not? > >

Re: Comma-Delimited Files on Macs

2011-09-18 Thread Richard Gaskin
Roger Eller wrote: Why is LiveCode's default delimiter a comma, such as in the dateItems? Is it simply because it is visible, whereas a TAB is not? I believe that's why it was chosen for HyperTalk, and RunRev followed suit on that. For the data types supported inherently in HC, it's general

Re: Comma-Delimited Files on Macs

2011-09-18 Thread Richard Gaskin
Gregory Lypny wrote: Richard, I’m afraid that changing the extension does not cause the type to change. It's worse than you think: file types have no meaning anymore in OS X. In versions prior to Snow Leopard they did, but they were deprecated in Snow Leopard and will eventually be gone fr

Re: Comma-Delimited Files on Macs

2011-09-17 Thread Roger Eller
On Sat, Sep 17, 2011 at 6:06 PM, Richard Gaskin wrote: > > That said, tab-delimited is a better choice. CSV must die: > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzi

Re: Comma-Delimited Files on Macs

2011-09-17 Thread Gregory Lypny
Hi Matthias and Richard, Thanks for the tip Matthias. I’ll give it a try. Richard, I’m afraid that changing the extension does not cause the type to change. I’ve been saving them with the extension “csv” and even even changed them manually to “txt” and then back to “csv”. The Get Info window

Re: Comma-Delimited Files on Macs

2011-09-17 Thread Matthias Rebbe
Gregory, i had a similiar question today. Just put one of the following lines set the filetype to "CSV" set the filetype to "XCELCSV" in the script before you write the file. means the CSV file is opened in the default application set in the system´s preferences.XCEL means

Re: Comma-Delimited Files on Macs

2011-09-17 Thread Richard Gaskin
Gregory Lypny wrote: When I create comma-delimited files with LiveCode by running handlers such as repeat with i=1 to 10 put i & comma & “something” & comma & “more stuff” & return after theData end repeat put theData into url (“file://“ & filePath) t

Comma-Delimited Files on Macs

2011-09-17 Thread Gregory Lypny
Hello everyone, When I create comma-delimited files with LiveCode by running handlers such as repeat with i=1 to 10 put i & comma & “something” & comma & “more stuff” & return after theData end repeat put theData into url (“file://“ & filePath) the file