Search found 168 matches
- Sat Sep 02, 2017 5:24 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Locating errors shown by Standalone maker
- Replies: 20
- Views: 25610
Re: Locating errors shown by Standalone maker
Thanks for the suggestion, Thierry. I have checked the custom properties now, and the problem is not located there.
- Sat Sep 02, 2017 2:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Locating errors shown by Standalone maker
- Replies: 20
- Views: 25610
Locating errors shown by Standalone maker
The standalone maker generates a working MacOS version of my stack. However, it also presents me with a window of errors: 14 "File not found" errors in a total of more than 500 cards, with paths that point to a non-existant folder within an old Supercard folder that I have not used for a number of y...
- Thu Jun 22, 2017 8:35 am
- Forum: Databases
- Topic: SQLite insert woes
- Replies: 14
- Views: 10665
Re: SQLite insert woes
Elegant. Thank you.
- Tue May 16, 2017 12:53 pm
- Forum: Off-Topic
- Topic: Printed Dictionary Book Bundle
- Replies: 9
- Views: 8307
Re: Printed Dictionary Book Bundle
I have read just the first 40 pages of the printed "LiveCode User Guide" and am sorry to say that I am disappointed. Not only is there no table of contents, there is no index, so looking up topics is impossible. If the book has bee proofread, there is little evidence of this. Just look, for example,...
- Mon May 15, 2017 12:44 pm
- Forum: Off-Topic
- Topic: Printed Dictionary Book Bundle
- Replies: 9
- Views: 8307
Re: Printed Dictionary Book Bundle
Just arrived here in Spain.
- Sun May 14, 2017 12:40 pm
- Forum: Talking LiveCode
- Topic: Random Sudden Quits in 8.1.2, Mac OS
- Replies: 2
- Views: 3038
Re: Random Sudden Quits in 8.1.2, Mac OS
Timothy, interesting. I, too, have been having problems of total freezes on my Mac when using a stack that has several hundred cards with Player objects. Tests showed that going from card to card in a repeat loop was causing hundreds of Threads to be generated. The only solution I have found, is to ...
- Sun May 07, 2017 4:18 pm
- Forum: Databases
- Topic: SQLite insert woes
- Replies: 14
- Views: 10665
Re: SQLite insert woes
This has got me thinking. If SQLIte has problems with the single quote character in a text string, then it might have problems with other characters that might then also need to be escaped (&,/,¿ and suchlike come to mind). Is there a list of such problematic characters and does SQLite always escape...
- Sun May 07, 2017 11:30 am
- Forum: Databases
- Topic: SQLite insert woes
- Replies: 14
- Views: 10665
Re: SQLite insert woes
Thanks for your concern, Sparkout. Data is put into the wk variables from fields in the current card. That the data is there can be seen in the error shown in the first post. I have now amended the script to replace single quotes in the variables by double quotes and it works a treat. Many thanks to...
- Sun May 07, 2017 10:08 am
- Forum: Databases
- Topic: SQLite insert woes
- Replies: 14
- Views: 10665
Re: SQLite insert woes
The variable content. Of course (I think)! The wkTitle (see first post) contains a single quote. Presumable this has to be escaped. I'm off to see if I can find how to do that.
Thanks for the nudge in what I hope is the right direction.
Thanks for the nudge in what I hope is the right direction.
- Sat May 06, 2017 9:44 am
- Forum: Databases
- Topic: SQLite insert woes
- Replies: 14
- Views: 10665
Re: SQLite insert woes
Klaus, that I do not understand. Your leaving off of the final bracket results in the following string: INSERT into original (title, date_rec, comments) VALUES ('wkTitle', 'wkRecDate', 'wkComments'; With the final bracket, as I proposed, results in: INSERT into original (title, date_rec, comments) V...
- Fri May 05, 2017 10:23 pm
- Forum: Databases
- Topic: SQLite insert woes
- Replies: 14
- Views: 10665
Re: SQLite insert woes
Thank you, Klaus. Your put "INSERT into original (title, date_rec, comments) VALUES (" & q2(wkTitle) & ", " & q2(wkRecDate) & ", " & q2(wkComments);" into tSQL results in a LiveCode error, so I have modified it slightly, as follows: put "INSERT into original (title, date_rec, comments) VALUES (" & q...
- Fri May 05, 2017 2:59 pm
- Forum: Databases
- Topic: SQLite insert woes
- Replies: 14
- Views: 10665
SQLite insert woes
The following code put "INSERT into original (title, date_rec, comments) VALUES (wkTitle" & ", " & "wkRecDate" & ", " & "wkComments);" into tSQL revExecuteSQL tDatabaseID, tSQL results in the error: No such column: wkTitle. I have added other information to the error display, in order to show the co...
- Sat Apr 29, 2017 12:38 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: HTML entities
- Replies: 6
- Views: 4386
Re: HTML entities
Indeed, and I can't, so should I take it that there is no more efficient way to achieve what I want than my code? It works surprisingly well, but seems a bit dated (just like my car…).
- Sat Apr 29, 2017 11:59 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: HTML entities
- Replies: 6
- Views: 4386
Re: HTML entities
Thank you again, Klaus. That looks a lot tidier!
However, this returns the old character HTML entities, such as &,ä,á,à,â,ã,å,æ,ë,è, etc.
I want the entity numbers, such as &,ä,á,à,â,ã,å,æ,ë,è, etc
However, this returns the old character HTML entities, such as &,ä,á,à,â,ã,å,æ,ë,è, etc.
I want the entity numbers, such as &,ä,á,à,â,ã,å,æ,ë,è, etc
- Sat Apr 29, 2017 10:54 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: HTML entities
- Replies: 6
- Views: 4386
HTML entities
Many years ago, I wrote a HyperText function to convert accented and other special characters to HTML entities. I was recently looking at the now LiveCode stack that contains this function, in order to modify the old textual entities into numeric ones. The function is: function textToEntities textTo...