Re: Cannot get a compiled app to work

2016-12-07 Thread pink
I gave this a try, I switched to "Select Inclusions" and selected the SVG Text widget. It still does not work. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cannot-get-a-compiled-app-to-work-tp4710891p4710935.html Sent from the Revolution - User mailing list a

Re: understanding on how to handle UTF-8 import/export

2016-12-07 Thread Devin Asay
> On Dec 6, 2016, at 7:13 AM, Tiemo Hollmann TB wrote: > > Thanks Peter, that works fine. > Perhaps you could add a cross reference in the docs at uniEncode/uniDecode > to textEncode/textDecode, that would have helped me. > I know, that there was written a lot about UTF-8 when it was released in

Re: Vertical segmented control widget

2016-12-07 Thread Mike Kerner
I'm not sure if this has been done as a widget, but you can certainly accomplish this with a couple of buttons grouped together and a bit of script. On Wed, Dec 7, 2016 at 12:13 PM, rjd318 wrote: > > Hi - I thought I read here once how this is accomplished but can't seem to > find it. Is this po

Re: compiler not catching bad exit within routine

2016-12-07 Thread Bob Sneidar
Another thing to try that helped me more than once is to copy/paste the script (the ENTIRE script not just the handlers) into a text file formatted for Text Only then copy/paste it back into your script replacing what is there. I think it has something to do with the unicode text thingummy. Bob

Re: Saving data/settings

2016-12-07 Thread Tom Glod
I arrayencode...compress .then binaryencode into straight up text file or field On Wed, Dec 7, 2016 at 2:15 PM, proth...@earthlearningsolutions.org < proth...@earthlearningsolutions.org> wrote: > Jacqueline, > Thanks. Worrying about nothing. > Bill > > William Prothero > http://es.earthednet.

Re: Saving data/settings

2016-12-07 Thread proth...@earthlearningsolutions.org
Jacqueline, Thanks. Worrying about nothing. Bill William Prothero http://es.earthednet.org > On Dec 7, 2016, at 11:11 AM, J. Landman Gay wrote: > > This isn't much of an issue on mobile. An update will change the app itself > but not touch the user data. You can store it in the Documents fold

Re: Saving data/settings

2016-12-07 Thread J. Landman Gay
This isn't much of an issue on mobile. An update will change the app itself but not touch the user data. You can store it in the Documents folder and it will stay there, no need for cloud storage unless your app requires that for some reason. On 12/7/16 12:43 PM, proth...@earthlearningsolution

Re: Saving data/settings

2016-12-07 Thread Richard Gaskin
Alex Tweedly wrote: > On 07/12/2016 17:13, Richard Gaskin wrote: >> If your data can be well expressed with key-value pairs, use arrays >> locally, and a key-value store like CouchDB or MondgoDB for servers >> (I hear there's a great library available for using CouchDB in LC >> ). >> > Could you

Re: Saving data/settings

2016-12-07 Thread pink
CouchDB Library is here: https://github.com/madpink/couchdb4livecode Forum thread here: http://forums.livecode.com/viewtopic.php?f=12&t=24925&hilit=couchdb -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Saving-data-settings-tp4710911p4710927.html Sent from the

Re: Saving data/settings

2016-12-07 Thread proth...@earthlearningsolutions.org
On this subject, I am wondering about the best way to make user entered data persist between upgrades, on mobile. On an app I made for myself, I store it to my personal server, but for wider distribution, I've been planning on Dropbox, since livecode supports it. Are there other options that you

RE: card-to-card speed

2016-12-07 Thread Ralph DiMola
I started having "wait" issues starting with 6.6.2 rc4. http://quality.livecode.com/show_bug.cgi?id=12508 Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Ph

Re: Saving data/settings

2016-12-07 Thread Alex Tweedly
On 07/12/2016 17:13, Richard Gaskin wrote: If your data can be well expressed with key-value pairs, use arrays locally, and a key-value store like CouchDB or MondgoDB for servers (I hear there's a great library available for using CouchDB in LC ). Could you perhaps say more about that ? Wh

RE: compiler not catching bad exit within routine

2016-12-07 Thread Ralph DiMola
I just had a problem like this minutes ago. I had fat fingers and must have hit some bizarre ctrl key combo and LC(8.1.1) instantly quit with no messages. I restarted LC When I opened the script LC was OK but when I clicked the left bar to select the handler I was working on... BOOM LC quit again.

Re: card-to-card speed

2016-12-07 Thread Phil Davis
Does "lock recent" before going next have any effect on the speed? It used to. Phil Davis On 12/7/16 8:56 AM, Richard Gaskin wrote: A friend of mine has an app where some animations are done by flipping through cards. Speed is variable, set with a "wait milliseconds" statement, so the user

Re: card-to-card speed

2016-12-07 Thread Mark Talluto
> On Dec 7, 2016, at 8:56 AM, Richard Gaskin wrote: > > Have any of you seen unusual delay with "wait" statements in versions later > than v6? I have noticed that v7/8/9 are slower than 6 in almost every way. Strings are on par if not slightly faster in 8/9 when compared to 6. I have not cons

Re: Saving data/settings

2016-12-07 Thread Mark Talluto
> On Dec 7, 2016, at 7:14 AM, pink wrote: > > I've experimented a little bit with local database files. In particular I've > tried Andre Garzia's database library, and Livecloud's local database, both > of which are pretty nice. > > I'm curious what everyone else uses, and what do you think are

Re: card-to-card speed

2016-12-07 Thread Mike Bonner
On my system, testing with version 8, 1M loops (with and without a wait, and with 1 random(1000) call in each) it takes version 8, 283ms with wait, and 112ms without. Version 6 takes 157ms with and 51ms without. But this is with a million loops so for each loop, version difference only adds 0.00

Re: Saving data/settings

2016-12-07 Thread Richard Gaskin
pink wrote: > I'm interested in learning how people save data and settings for > applications, especially on mobile devices. > > The method I have been using is to create an invisible data stack > and save the data as custom properties. I like this the most because > I tend to put most of my data

Vertical segmented control widget

2016-12-07 Thread rjd318
Hi - I thought I read here once how this is accomplished but can't seem to find it. Is this possible to do? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription prefere

card-to-card speed

2016-12-07 Thread Richard Gaskin
A friend of mine has an app where some animations are done by flipping through cards. Speed is variable, set with a "wait milliseconds" statement, so the user can view the sequence as quickly or slowly as desired. In versions up through 6.x the speed was quite good, but in v7, 8, and 9 the

Re: Saving data/settings

2016-12-07 Thread Dr. Hawkins
On Wed, Dec 7, 2016 at 7:40 AM, Mike Kerner wrote: > In fact, db access in LC is so easy that I > don't use files or extra stacks for anything. > same here. SQLite is buit in. In fact, i use it with a :memory: file for data, two--on loading a client, it gets the data from a postgreSQL server,

Re: compiler not catching bad exit within routine

2016-12-07 Thread Dr. Hawkins
On Wed, Dec 7, 2016 at 3:21 AM, Dave Kilroy wrote: > Have you tried checking your script for invisible characters? Try copying > the entire script to something like BBedit, selecting and copying it afresh > there, deleting everything in the LiveCode script, saving it to ensure it's > clean, pasti

Re: Saving data/settings

2016-12-07 Thread Mike Kerner
I would check the examples that LC has for db access. I wound up rolling my own db library afterward just because I wanted things to be a certain way, but like I said, it's so easy to use DB's in LC that it's not worth it not to. When it comes to building your db structures, take a look at Valent

Re: Saving data/settings

2016-12-07 Thread Mike Kerner
I put everything in a db, and I have default settings coded into the app to populate the db. You don't need Andre's library to use DB's with LC (and I do not). db access in LC is very easy (but that is not to say that his library won't make it easier). In fact, db access in LC is so easy that I

Saving data/settings

2016-12-07 Thread pink
I'm interested in learning how people save data and settings for applications, especially on mobile devices. The method I have been using is to create an invisible data stack and save the data as custom properties. I like this the most because I tend to put most of my data and settings into arrays

Re: Cannot get a compiled app to work

2016-12-07 Thread panagiotis merakos
Hi Greg, I was about to post a reply with my results, since I already have your .livecode file (you sent it to me for bug 18958). I also had to remove this widget, otherwise I was getting an error "cannot load module" when building the iOS standalone. After removing the widget, I was able to buil

Re: Cannot get a compiled app to work

2016-12-07 Thread pink
alright... after hours of messing around with the program, I have found the cause... I was using Hermann's SVGText widget... once I removed it, the program compiled and worked correctly... so, why would the widget work correctly on the simulator but not an actual device? I haven't really dabbled

Re: compiler not catching bad exit within routine

2016-12-07 Thread Ali Lloyd
Or try this if the script is not supposed to have any non-ascii characters: local tLineCount, tCPCount repeat for each line tLine in

Re: compiler not catching bad exit within routine

2016-12-07 Thread Dave Kilroy
Ah right I get it now Have you tried checking your script for invisible characters? Try copying the entire script to something like BBedit, selecting and copying it afresh there, deleting everything in the LiveCode script, saving it to ensure it's clean, pasting in the (hopefully cleaned) script f