Re: [ANN] MobGUI V1.22 and SVG icon files

2014-02-13 Thread Matthias Rebbe
Ender, you can buy MobGui here http://livecode.com/store/marketplace/mobgui/ The key you receive enables you to download 1.22 from the MobGui site. Regards, Matthias Am 13.02.2014 um 23:17 schrieb Ender Nafi Elekcioglu : > John hi, > > Is v1.22 available for download / buy? > I downloaded

Re: Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

2014-02-13 Thread J. Landman Gay
Oops. That reads way snarkier than it sounded in my head. Sorry. On 2/13/14, 10:12 PM, J. Landman Gay wrote: On 2/13/14, 8:53 PM, Bob Sneidar wrote: Aye, but the question was which form of repeat was more efficient. I thought you said that any repeat loop was equal to another, and just pointe

Re: Defining Pet Features and Essentials

2014-02-13 Thread Ender Nafi Elekcioglu
Geoff: > I just tested python on an ipad and it took about 30 seconds for fib(33). 30 seconds for Python, you say; my, my, the plot’s getting thicker and thicker. I tested with Livecode just now for an up-to-date comparison. It’s 11 seconds for that base algorithm on iPhone 5S; and 437 *micro* s

Re: Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

2014-02-13 Thread J. Landman Gay
On 2/13/14, 8:53 PM, Bob Sneidar wrote: Aye, but the question was which form of repeat was more efficient. I thought you said that any repeat loop was equal to another, and just pointed out that an empty loop (your original test) didn't mean much until you put some code in it. It's pretty w

Re: Defining Pet Features and Essentials

2014-02-13 Thread Geoff Canyon
Sent from my iPhone > On Feb 13, 2014, at 3:13 AM, Ender Nafi Elekcioglu > wrote: > > I have used same algorithm both in C and Livecode > and the results were ~29ms. vs ~8seconds. As long as LC is dynamic (not compiled) it is unlikely to be as fast as C. 240x seems large, but I haven't compar

Re: Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

2014-02-13 Thread Bob Sneidar
Aye, but the question was which form of repeat was more efficient. In fact your example proves the point which is, it’s the actual code inside the repeat loop that takes way more time than the form of repeat itself. What would really be of interest is comparing the form repeat for each word th

For the record

2014-02-13 Thread Bob Sneidar
Just for the record, a little while ago I was wanting to know how to test a connection to a SQL database without actually running a query and incurring a long timeout. Turns out the problem was within my code. I call a function I wrote that was *supposed to* disconnect me from all active databas

Re: Lock Screen on preOpenCard

2014-02-13 Thread Ender Nafi Elekcioglu
From: Kay C Lan > Then you don't have to bother about keeping track of pairs and can rest  > easy at nights ... Thank you Kay, that seems the most fail-proof solution and will definitely ease my mind :) Best, ~ Ender ___ use-livecode mailing list use

Re: Lock Screen on preOpenCard

2014-02-13 Thread Kay C Lan
On Fri, Feb 14, 2014 at 12:19 AM, Ender Nafi Elekcioglu wrote: > > The lock/unlock of the second card's preOpenCard handler is redundant, > isn't it? > > For small or relatively simple stacks keeping track of lock/unlock pairs is fairly straight forward. Once you get a little more complex you can

Re: [OT] Cultural differences (was Re: Defining Pet Features and Essentials)

2014-02-13 Thread Kay C Lan
On Thu, Feb 13, 2014 at 4:14 AM, J. Landman Gay wrote: > > I almost decided to major in cultural anthropology in college, the field > is so fascinating to me. Humans are a diverse breed, and yet we have far > more in common with each other than we have differences. > > I'm certainly glad a smile i

Re: Setting the textStyle of content of custom properties

2014-02-13 Thread dunbarx
Hi. The "styledText" or the "htmlText" should preserve the style. Run a few experiments. Craig -Original Message- From: Charles Szasz To: use-livecode Sent: Thu, Feb 13, 2014 3:07 pm Subject: Setting the textStyle of content of custom properties I have some text in custom proper

Re: [ANN] MobGUI V1.22 and SVG icon files

2014-02-13 Thread Ender Nafi Elekcioglu
John hi, Is v1.22 available for download / buy? I downloaded the demo version but it’s v1.21 and it doesn’t have carousel control even as disabled. Btw, I bought MobGüi 2 years ago; I didn’t it need at all thus not updated my license. But that carousel control is game changer :) It looks awesom

[ANN] MobGUI V1.22 and SVG icon files

2014-02-13 Thread John Craig
I've updated MobGUI to V1.22 - it now has a palette to set up the carousel control. There's a short video demonstration at http://youtu.be/R1LOomoJSbU I've also added another download to www.mobgui.com - the SVG icon files used to create the mobguicons fonts. For more info : http://forums.run

Re: Problems with delete stack

2014-02-13 Thread Peter Haworth
I tried wrapping the delete stack command in a try/catch but no error was detected. I also tried checking if the stack was in the mainStacks right after being deleted and it's not. I tried a wait command with various intervals right after the delete stack, still same problem. As mentioned in my

Setting the textStyle of content of custom properties

2014-02-13 Thread Charles Szasz
I have some text in custom properties for a checkbox. How can I set the textStyle of text to bold through scripting? Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Problems with delete stack

2014-02-13 Thread Peter Haworth
Right, I don;t think there could be any processes running in the deleted stack. Is there a way to check if the delete stack command worked or not? Maybe the result? There's no runtime error. Pete lcSQL Software Home of lcStackBrowser

Re: Problems with delete stack

2014-02-13 Thread J. Landman Gay
On 2/13/14, 11:17 AM, Peter Haworth wrote: I set destroyStack to true immediately before the delete stack command. Although according to the dictionary, delete stack removes a stack from memory if it's a main stack. The "delete stack" command should remove it from memory regardless of the dest

Re: Dollar Sign Variables

2014-02-13 Thread J. Landman Gay
On 2/13/14, 5:51 AM, Björnke von Gierke wrote: I was wondering the same thing. How in the world does one program without the debugger? Jaw dropped. I graciously insert put commands when something isn't working as expected, then fix the problem and remove the puts again. That's what we had to

Re: Problems with delete stack

2014-02-13 Thread Peter Haworth
I set destroyStack to true immediately before the delete stack command. Although according to the dictionary, delete stack removes a stack from memory if it's a main stack. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

Re: Best Practice for Library Stacks

2014-02-13 Thread Roger Eller
Wasn't the ten lines of 'do' commands a very old demo version thing?... Designed to keep testers from do-ing too much without buying the product? And wasn't it removed long ago? Questions, questions, questions... ~Roger On Feb 13, 2014 12:11 PM, "Richard Gaskin" wrote: > Earthednet-wp wrote: >

RE: Lock Screen on preOpenCard

2014-02-13 Thread Ender Nafi Elekcioglu
Thanks, John… ~ Ender From: John Dixon John Dixon Reply: John Dixon dixo...@hotmail.co.uk Date: February 13, 2014 at 18:21:47 To: How to use LiveCode use-livecode@lists.runrev.com Subject:  RE: Lock Screen on preOpenCard Yes Ender, it is... > Date: Thu, 13 Feb 2014 18:19:35 +0200 > From:

Re: Best Practice for Library Stacks

2014-02-13 Thread Richard Gaskin
Earthednet-wp wrote: > Richard, > My question was probably too elementary, but what I was really asking > is: > Do all of the handlers in a single button script count as a single > script, or is a single handler in the button script counted as a > script, for purposes of scriptLimits. There was

Re: Best Practice for Library Stacks

2014-02-13 Thread Earthednet-wp
Richard, My question was probably too elementary, but what I was really asking is: Do all of the handlers in a single button script count as a single script, or is a single handler in the button script counted as a script, for purposes of scriptLimits. If only 10 front scripts were allowed, the

RE: Lock Screen on preOpenCard

2014-02-13 Thread John Dixon
Yes Ender, it is... > Date: Thu, 13 Feb 2014 18:19:35 +0200 > From: endern...@keehuna.com > To: use-livecode@lists.runrev.com > Subject: Lock Screen on preOpenCard > It came to my mind that the latter may be pointless, > former lock/unlock may encapsulate the second, hence the **pre**OpenCard. >

Re: Best Practice for Library Stacks

2014-02-13 Thread Mark Wieder
Richard- Thursday, February 13, 2014, 7:46:16 AM, you wrote: > There used to be limits; it remains to be seen if there still are, or if > the Dictionary entry for scriptLimits just needs to be updated. Last time I looked in the code, the script limits were commented out. -- -Mark Wieder ahsof

Lock Screen on preOpenCard

2014-02-13 Thread Ender Nafi Elekcioglu
Hi all, I’m navigating through cards with visual effect at all times. And in the destination card’s preOpenCard handler I lock and unlock screen. card1: _on mouseUp __lock screen for visual effect __go card 2 __unlock screen with visual effect “dissolve fast” _end mouseUp card2: _on preOpenCard

Re: Best Practice for Library Stacks

2014-02-13 Thread Ender Nafi Elekcioglu
I couldn’t decide which line to quote from Richard’s posts; You know, because of the 15kb limit of list :) In short, I’ve learned much. For my situation, using library stacks is less convenient. And the possibility of hooking chained behaviors to the backscripts seems very promising. I already s

Re: Android Test Won't Install

2014-02-13 Thread Neil Roger
Hi Dan, I have managed to upgrade my SGS3 to 4.3 and have had no issues so far deploying to it as a test target. What method did you use to update to update your device and what version of the firmware did you upgrade too? My firmware version is now I9300XXUGMK7 It is worth noting, that even

Re: Best Practice for Library Stacks

2014-02-13 Thread Richard Gaskin
Earthednet-wp wrote: > I like the idea of putting libraries into buttons, then copying > them into the front script at startup. When you say there is a > limit of some number of scripts, what counts for a "script"? Is > a single script counted as all the handlers contained within a > single butto

Re: Best Practice for Library Stacks

2014-02-13 Thread Earthednet-wp
I also am concerned with the organization of large script libraries. I like the idea of putting libraries into buttons, then copying them into the front script at startup. When you say there is a limit of some number of scripts, what counts for a "script"? Is a single script counted as all the

Re: Best Practice for Library Stacks

2014-02-13 Thread Richard Gaskin
Ender Nafi wrote: Is there any difference, especially performance-wise, between these two approaches: 1. Library code is in the library stack’s script and it’s activated by _start using stack “libraryCode” 2. Library code is distributed to different buttons of a card of the main stack and it

Re: John Craig posted a new video on Youtube about the new Carousel feature of MobGui

2014-02-13 Thread Mike Kerner
That's pretty cool... On Thu, Feb 13, 2014 at 8:46 AM, Matthias Rebbe < matthias_livecode_150...@m-r-d.de> wrote: > Hi, > > i just watched John Craig´s new video on Youtube about the new Carousel > feature of MobGui. > > What an awesome feature of MobGui!! > > But have a look yourselves > > htt

Re: Best Practice for Library Stacks

2014-02-13 Thread Richard Gaskin
Paul Dupuis wrote: You can have more Library stacks loaded (via start using) than you can insert back scripts or front scripts. The numbers used to be 50 library stacks and 15 front and 15 back scripts. I am not sure if that has changed with recent releases. It seems that it has. I'd been mea

Re: Best Practice for Library Stacks

2014-02-13 Thread Paul Dupuis
You can have more Library stacks loaded (via start using) than you can insert back scripts or front scripts. The numbers used to be 50 library stacks and 15 front and 15 back scripts. I am not sure if that has changed with recent releases. This may or may not make a difference for you depending upo

John Craig posted a new video on Youtube about the new Carousel feature of MobGui

2014-02-13 Thread Matthias Rebbe
Hi, i just watched John Craig´s new video on Youtube about the new Carousel feature of MobGui. What an awesome feature of MobGui!! But have a look yourselves http://www.youtube.com/watch?v=R1LOomoJSbU Regards, Matthias Matthias Rebbe ___ use-

Re: The DefaultButton

2014-02-13 Thread Neil Roger
Hi Bob, It does seem like something peculiar is going on as I can replicate the behavior that you are experiencing. It would be great if you could submit a report on this issue with your Quality Control team as they will be able to investigate it further. Kind Regards,
 Neil Roger -- RunRev

Re: Dollar Sign Variables

2014-02-13 Thread Björnke von Gierke
> > I was wondering the same thing. How in the world does one program without the > debugger? > > Jaw dropped. I graciously insert put commands when something isn't working as expected, then fix the problem and remove the puts again. Only works with code that I've created myself though, becau

Re: Best Practice for Library Stacks

2014-02-13 Thread Ender Nafi Elekcioglu
Mark, thanks for your quick reply. I have another question, if you don’t mind. Is there any difference, especially performance-wise, between these two approaches: 1. Library code is in the library stack’s script and it’s activated by _start using stack “libraryCode” 2. Library code is distribu

Re: Best Practice for Library Stacks

2014-02-13 Thread Mark Schonewille
Hi Ender, Stacks in use receive messages at stack level, not at card level. Use a button for each part of your library and use backscripts and frontscripts. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://

Best Practice for Library Stacks

2014-02-13 Thread Ender Nafi Elekcioglu
Hello, I have a library stack which consists all my common functions and commands. Calculations, text manipulation, getting device info, update procedures, etc. Stack’s script is close 5000+ line of code. I wanted to organize it and put related handlers into the script of respective cards. But

Re: Defining Pet Features and Essentials

2014-02-13 Thread Ender Nafi Elekcioglu
Geoff, I had no idea that benchmarking can be done in *nanosecond* level; apparently, using *the long seconds*, it was possible. Thanks for that. However, as excellent code as your script is;  I wasn’t trying to find the fastest recursive fibonacci algorithm neither trying to find a solution for