Search found 6 matches

by ivanw
Tue Jan 25, 2011 2:47 am
Forum: Talking LiveCode
Topic: Get URL for Yahoo Query Language
Replies: 0
Views: 1751

Get URL for Yahoo Query Language

I'm trying to retrieve the contents of this YQL query. In my webbrowser it displays fine: http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20search.termextract%20where%20context%20in%20(select%20abstract%20from%20search.web(100)%20where%20query%20%3D%20'heart%20attack')%7Csort(field%3D'R...
by ivanw
Fri Jul 10, 2009 5:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: CSV Processing
Replies: 5
Views: 4618

Thank you Mark & Jean-Marc,

I've learnt something new about word processing and quotes in Rev.


Ivan
by ivanw
Fri Jul 10, 2009 8:05 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: CSV Processing
Replies: 5
Views: 4618

Hi Jean Marc, Sorry I think I didn't explain clearly. My data is actually comma delimited, but some items have a non-delimiting comma, and these items are identified by single quotes: e.g. '100,000' is actually one item and not two as the comma should not be recognized as an item delimiter. I was wo...
by ivanw
Fri Jul 10, 2009 5:25 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: CSV Processing
Replies: 5
Views: 4618

CSV Processing

I'm hitting an issue when parsing csv data - searched the forum but could not find an answer. Basically I'm doing a item loop to extract csv data. However my csv data is itself separated by single quotes. e.g. when I loop over this with a "for each item": 11.66, '201,000', cat I get: 11.66 201 000 c...
by ivanw
Fri Jul 10, 2009 5:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Occurrences
Replies: 4
Views: 3813

Many thanks Klaus & SparkOut

Indeed there was a typo in my original example - I'll test this solution and let you know how it goes.
by ivanw
Tue Jul 07, 2009 7:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Occurrences
Replies: 4
Views: 3813

Occurrences

I'm trying to find the max number of occurrences of each keyword in a list of keywords. So far I've been thinking of looping each line and then checking whether that line is contained within each of the other lines in the list. e.g. fox brown fox quick brown fox quick brown fox after calculations wo...