Search found 117 matches

by danielrr
Tue May 17, 2016 8:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Tree builder from XML
Replies: 2
Views: 657

Re: Tree builder from XML

Great! In fact this is the first reason I know of to swift to 8.

Thanks a lot
by danielrr
Fri May 13, 2016 11:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Tree builder from XML
Replies: 2
Views: 657

Tree builder from XML

HI all,

Did anybody ever wrote a function to draw a tree (lines for branches, etc.) from the contents of an XML document?

best,

Daniel
by danielrr
Fri Mar 18, 2016 12:07 pm
Forum: Databases
Topic: regular expressions in SQLite
Replies: 1
Views: 1228

regular expressions in SQLite

Hi all, I submitted this very question to the newbies board, but maybe this is the right place to do it. My apologies for the crossposting. I think in order to be able to make queries on a SQLite database using regular expressions you need a function called regexp; and in order to use this function ...
by danielrr
Thu Mar 17, 2016 10:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Regular expressions in SQL in LC
Replies: 1
Views: 505

Regular expressions in SQL in LC

Hi all, I think in order to be able to make queries on a SQLite database using regular expressions you need a function called regexp; and in order to use this function you need to compile a dynamic library extension. I could be wrong in every respect, of course, but if not, How can you compile such ...
by danielrr
Mon Mar 14, 2016 11:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SQLite and Unicode
Replies: 4
Views: 1391

Re: SQLite and Unicode

Thanks Daniel. It works!
by danielrr
Mon Mar 14, 2016 9:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SQLite and Unicode
Replies: 4
Views: 1391

Re: SQLite and Unicode

OK, I'll answer myself (and anybody with the same problem): before querying the database (let's say data was introduced in UTF8) you "textencode" the string to search with a SELECT statement, like put textEncode(searchText,"UTF8") into searchText and you textdecode the results put textDecode(textFou...
by danielrr
Mon Mar 14, 2016 2:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SQLite and Unicode
Replies: 4
Views: 1391

SQLite and Unicode

First, my apologies if this question is trivial or if it's been answered 100 times already. I have a sqlite database with text in unicode utf16. When I use it with programs like SQLiteStudio there's no problem with the database. However, from LiveCode I can't query the database for text in Unicode (...
by danielrr
Wed Nov 04, 2015 5:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Github?
Replies: 2
Views: 530

Github?

Dear all, I am working on a project that I think could be of interest to many colleagues and scholars (it is an Ancient Greek dictionary with a browser of greek parsed forms). It uses two large databases of publicly available data (distributed with a cc share alike, non profit license). I'a planning...
by danielrr
Mon Oct 12, 2015 7:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Python in LC?
Replies: 13
Views: 2314

Re: Python in LC?

Sorry for this long delay (It certainly wasn't due to lack of interest). I have been trying to upload a simplified version of the stack together with a reduced version of all the files (just the first 100 lines of every file--more than 140,000 lines each), but even so the whole bunch is almost 3MB, ...
by danielrr
Mon Sep 28, 2015 2:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Python in LC?
Replies: 13
Views: 2314

Re: Python in LC?

It would be helpful if you could provide the complete LC handler as you have it, the complete Python function you're comparing it to so we can gauge relative performance, and the data files so we can be assured that the revisions we make to your handler will account for their specific structure. I ...
by danielrr
Wed Sep 23, 2015 11:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Python in LC?
Replies: 13
Views: 2314

Re: Python in LC?

Unless I'm wrong, in LiveCode, there is an EOF (end of file) constant, but not an EOL (end of line).
by danielrr
Wed Sep 23, 2015 12:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Python in LC?
Replies: 13
Views: 2314

Re: Python in LC?

Thanks, Let's say you have a bilingual dictionary. It is Greek-English, or Chinese-English, so you need Unicode. You have it in three files, one for the Greek headwords, a second file for definitions and a third one (a really gigantic file) with the body of every article. Say you want to know how ma...
by danielrr
Wed Sep 23, 2015 12:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Python in LC?
Replies: 13
Views: 2314

Python in LC?

Hi all, Is there any way to use LiveCode to build an interface for python code? And if the answer is yes, how do you do it (a stack example would be much appreciated)? PS Don't get me wrong, I love LC syntax (as everything else) but at least as of today it can be very slow (some times painfully slow...
by danielrr
Sun May 17, 2015 9:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Doing statistics with LC
Replies: 5
Views: 1639

Re: Doing statistics with LC

Of course! Thanks Klaus :) :D

Go to advanced search