Re: Format text data records for processing in Livecode

2019-03-01 Thread Peter Bogdanoff via use-livecode
I must say that once I started using arrays for data storage and access, I never looked back. Compact, fast, malleable. Many years ago I thought I would take a continuing education C programming class at a university. Knowing only HyperTalk, I muddled along until mid-semester when the

Re: Format text data records for processing in Livecode

2019-03-01 Thread Kaveh Bazargan via use-livecode
On Fri, 1 Mar 2019 at 03:44, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Kaveh Bazargan wrote: > > > If it's working and you're happy keep doing it. > > At some point you may find arrays very powerful. This circumstance seems > a natural fit for them, as they keep

Re: Format text data records for processing in Livecode

2019-02-28 Thread Richard Gaskin via use-livecode
Kaveh Bazargan wrote: > On Tue, 26 Feb 2019 at 23:12, Richard Gaskin wrote: > >> Kaveh Bazargan wrote: >> >> > My use case might be unusual in that I have several itemdelimiters >> > in the same text. I need to record what each one is, but they must >> > not be the same. I might be going off

Re: Format text data records for processing in Livecode

2019-02-27 Thread Kaveh Bazargan via use-livecode
On Tue, 26 Feb 2019 at 23:12, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Kaveh Bazargan wrote: > > > My use case might be unusual in that I have several itemdelimiters in > > the same text. I need to record what each one is, but they must not be > > the same. I

Re: Format text data records for processing in Livecode

2019-02-26 Thread Richard Gaskin via use-livecode
Kaveh Bazargan wrote: > My use case might be unusual in that I have several itemdelimiters in > the same text. I need to record what each one is, but they must not be > the same. I might be going off topic here, but I thought it is a > simple way of generating a text that is guaranteed to be

Re: Format text data records for processing in Livecode

2019-02-26 Thread Simon Knight via use-livecode
Some interesting ideas although I’m not sure why a changing separator is useful. I generally attempt to stick with TSV but it won’t work in this case unless I parse the data to remove the tabs from the text, however I may well try this. At the moment I’m trying to use a simple tagging

Re: Format text data records for processing in Livecode

2019-02-26 Thread kee nethery via use-livecode
What about accidentally choosing a codepoint that is already in the text? I tend to use tab and return for spreadsheet data. For text that needs to include tabs and returns, I use the ASCII codepoints designed for delimiting data; Unit Separator ACSII37, Record Separator ASCII36, Group

Re: Format text data records for processing in Livecode

2019-02-26 Thread Kaveh Bazargan via use-livecode
My use case might be unusual in that I have several itemdelimiters in the same text. I need to record what each one is, but they must not be the same. I might be going off topic here, but I thought it is a simple way of generating a text that is guaranteed to be unique. On Tue, 26 Feb 2019 at

Re: Format text data records for processing in Livecode

2019-02-26 Thread dunbarxx via use-livecode
I am missing the point of using an ephemeral and unknown string as an itemDelimiter. The whole point of such a gadget is that it can be used at another time to undo, or redo, whatever data parsing was done earlier. Is it that the delimiter is stored somewhere, and just for security it is

Re: Format text data records for processing in Livecode

2019-02-26 Thread Kaveh Bazargan via use-livecode
code > Sent: Tuesday, February 26, 2019 10:58 AM > To: use-revolut...@lists.runrev.com > Cc: dunbarxx > Subject: Re: Format text data records for processing in Livecode > > Hi. > > Since you may have any number and kind of characters in any of the fields > in > each rec

RE: Format text data records for processing in Livecode

2019-02-26 Thread Ralph DiMola via use-livecode
e-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunbarxx via use-livecode Sent: Tuesday, February 26, 2019 10:58 AM To: use-revolut...@lists.runrev.com Cc: dunbarxx Subject: Re: Format text data records for processing in Livecode Hi. Since you may have any number and kind of charact

Re: Format text data records for processing in Livecode

2019-02-26 Thread dunbarxx via use-livecode
Hi. Since you may have any number and kind of characters in any of the fields in each record, I would append a character that is unlikely ever to appear in any context. I like numToChar(202), but others like numToChar(3) or numtoChar(8). Then you can set the itemDelimiter to that char, and be