Search found 119 matches

by danielrr
Thu Jun 23, 2016 6:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling card
Replies: 3
Views: 1481

Re: Scrolling card

Thanks you both very much. You gave me the solution.
by danielrr
Thu Jun 23, 2016 1:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling card
Replies: 3
Views: 1481

Scrolling card

Hi, I have a stack with just one card. This card contains many objects and the user can create more of these. The objects in the card are groups of fields and graphics (think of a mind-mapper app). At some point there's more objects in the card that can fit the screen of a laptop mac, so I need to c...
by danielrr
Tue May 17, 2016 8:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Tree builder from XML
Replies: 2
Views: 1049

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: 1049

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: 1630

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: 855

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: 2082

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: 2082

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: 2082

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: 883

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: 3625

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: 3625

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: 3625

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: 3625

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...

Go to advanced search