Difference between Mainstack and Substack

2013-01-10 Thread Christophe Leske
Hi, this might sound like a beginner's question, but what exactly is a mainstack and what a substack? Which one is for what? How do I structure my project around these structures? Do I throw my splash screen and opener into a mainstack, and everything else in a substack, or everything in

Re: Difference between Mainstack and Substack

2013-01-10 Thread Colin Holgate
You could think of it as the mainstack is like the DIR that you created a projector from, and substacks are other DIR files that you added to the projector. Whether you go on to do a go movie whatever, or show a DIR as a MIAW (these acronyms will confuse the regular LiveCod users!), is up to

Re: Difference between Mainstack and Substack

2013-01-10 Thread Graham Samuel
Hi Christophe I've been using this mainstack/substack thing for so long that I had to think quite hard to give an answer. Others may respond differently, but my take on this is: Every program in LiveCode has to begin with a mainstack, which is the stack that is loaded when the program starts

Re: Difference between Mainstack and Substack

2013-01-10 Thread Christophe Leske
Am 10.01.2013 15:31, schrieb Graham Samuel: Hi Christophe Hi Graham, Hi Colin, thanks for the clarifications. Since we are at it: what is the image library, why is not every graphical asset imported to it, and what is the difference between placing an image onto the stage and a reference?

Re: Difference between Mainstack and Substack

2013-01-10 Thread Andre Garzia
Christopher, This has been answered above but I think you should take the time to learn more about the message path since you're learning more about stack structure. Check out this stack: http://pages.swcp.com/dsc/freedownload/pmm121.zip Its made by Dar Scott and is pure gold! Check out his

Re: Color names vs hex codes

2013-01-10 Thread Peter M. Brigham
I routinely swipe clever handlers from this list and store them in a library stack that is put in use on my LC startup. I try to give credit for these in comments, but I still have a few whose origins are unknown…. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On

Re: Difference between Mainstack and Substack

2013-01-10 Thread J. Landman Gay
On 1/10/13 8:31 AM, Graham Samuel wrote: Another very important use of substacks is to allow them (or the data in them) to be changed by the user. In all modern operating systems, self-modifying programs are forbidden, which means if the user changes (say) some fields in your mainstack, when

error 75 on Linux server?

2013-01-10 Thread Richard Gaskin
I have a CGI on my Debian server at Dreamhost which reads file using put url (binfile..., and it's been working well until a recent change to their server, and now it doesn't read the file, with can't read file in the result and sysError return 75. Oddly, it seems that replacing the put url

Re: Difference between Mainstack and Substack

2013-01-10 Thread Graham Samuel
Yes, sorry for the confusion: but I think those separated stacks can still access handlers in the main stack directly, can't they? Or have I got this wrong as well? Graham On 10 Jan 2013, at 20:05, J. Landman Gay wrote: On 1/10/13 8:31 AM, Graham Samuel wrote: Another very important use

One Minute from Read Naturally, Inc.

2013-01-10 Thread Chris Sheffield
Hi all, I've seen others do this, so hope it's okay. :-) Read Naturally, Inc. is proud to announce the release of One Minute Reader for iPad (https://itunes.apple.com/us/app/one-minute-reader/id465317539?mt=8). This project has been well under way for quite some time now, and we actually had

Re: error 75 on Linux server?

2013-01-10 Thread Malte Brill
Hi Richard, this appears to be Value too large for defined datatype http://www.thegeekstuff.com/2010/10/linux-error-codes/ Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: One Minute from Read Naturally, Inc.

2013-01-10 Thread Paul Hibbert
Congratulations Chris. It is good to hear success stories, so it's OK by me. :-) Looks like a great product. Paul On 2013-01-10, at 2:34 PM, Chris Sheffield wrote: Hi all, I've seen others do this, so hope it's okay. :-) Read Naturally, Inc. is proud to announce the release of One

Re: One Minute from Read Naturally, Inc.

2013-01-10 Thread Monte Goulding
Well done Chris I'll chase you down for a case study ;-) On 11/01/2013, at 9:34 AM, Chris Sheffield wrote: Hi all, I've seen others do this, so hope it's okay. :-) Read Naturally, Inc. is proud to announce the release of One Minute Reader for iPad

Re: error 75 on Linux server?

2013-01-10 Thread Richard Gaskin
Malte Brill wrote: Hi Richard, this appears to be Value too large for defined datatype http://www.thegeekstuff.com/2010/10/linux-error-codes/ Thanks, Malte. I had stumbled across that myself, but I still don't understand why put url... would trigger it but open/read/close doesn't. I've

Re: iOS standalone - what to do about code signing failures?

2013-01-10 Thread Dave Kilroy2
Hi all OK I can now sign code and build apps for iOS! I'm not 100% sure how I did it, but there were two critical stages: the first was when I realised that the rogue extra development certificate MUST be hiding somewhere on my MacBook Pro (I had previously been convinced it was hiding somewhere

Re: One Minute from Read Naturally, Inc.

2013-01-10 Thread Scott Rossi
Congratulations Chris. I know you've worked long and hard on this project and it's exciting to see results of your efforts finally available to the public. Thanks for the kind words, and here's hoping that lots of kids benefit from your work. Best Regards, Scott Rossi Creative Director Tactile

Re: error 75 on Linux server?

2013-01-10 Thread Phil Davis
Richard, put url always puts the entire enchilada, where open/read/close might not, depending on your read statement format. But if you're doing a read from file x until EOF it seems like they should both succeed or both fail. Phil Davis On 1/10/13 3:59 PM, Richard Gaskin wrote: Malte

Re: Difference between Mainstack and Substack

2013-01-10 Thread Robert Sneidar
Well now I have to ask, how does this affect the message hierarchy in a standalone? Are messages generated in a substack still passed to the mainstack? If not, this would explain a lot better than anything else why the splashstack approach is recommended so much, and ALL you actual

Re: One Minute from Read Naturally, Inc.

2013-01-10 Thread J. Landman Gay
On 1/10/13 4:34 PM, Chris Sheffield wrote: Read Naturally, Inc. is proud to announce the release of One Minute Reader for iPad Bravo! Good on you. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: Difference between Mainstack and Substack

2013-01-10 Thread J. Landman Gay
On 1/10/13 4:17 PM, Graham Samuel wrote: Yes, sorry for the confusion: but I think those separated stacks can still access handlers in the main stack directly, can't they? Or have I got this wrong as well? No, you're right. You weren't wrong on any of it, it was a good description. I only

Portable apps

2013-01-10 Thread J. Landman Gay
I've been asked to create a standalone that will run off a flash drive, both Mac and Windows versions. Will there be any problem with that? A quick search shows that Windows apps need to be created some special way to be portable and I don't know what Mac Gatekeeper will do either. The app

What is wrong with this Script logic?

2013-01-10 Thread Kay C Lan
What is wrong with this Script logic? I've been staring at this too long and can't figure out what's wrong. 1) New Main Stack 2) Add 1 plain field 3) Set the flds Script to: on closeField hCheckEntry me end closeField on hCheckEntry pData if (pData is not an integer) then ask warning

Re: Portable apps

2013-01-10 Thread As_Simon
Hi Jacqueline, I've been running LC apps off flash drives for Win and Mac for about 6 years now and never had problems with it. They even connect to the interweb. Don't recall ever having to do something special to make them portable. Remember that your drive letter will change often so watch

Re: What is wrong with this Script logic?

2013-01-10 Thread J. Landman Gay
Didn't something change recently with the recursion limit? Maybe something in the engine changed too. Also, I've had a few cases where inserting a breakpoint changed the way the handler behaves, which makes me think in this case the debugger is managing the recursion somehow. I'm just

Re: What is wrong with this Script logic?

2013-01-10 Thread dunbarx
Hi. Make sure you read the last line... I can see a recursion issue if the dialog line is skipped, since the handler is called again lower down. Stepping through the script line by line invokes the dialog each time. As it ought. But I cannot figure out why this works manually and not

Re: Portable apps

2013-01-10 Thread J. Landman Gay
On 1/10/13 9:43 PM, As_Simon wrote: Hi Jacqueline, I've been running LC apps off flash drives for Win and Mac for about 6 years now and never had problems with it. They even connect to the interweb. Don't recall ever having to do something special to make them portable. Remember that your drive

Re: Portable apps

2013-01-10 Thread Bill Vlahos
InfoWallet works this way. I have Mac, Windows, and Linux standalones that all run directly from the folder wherever it is (even on a USB drive). It is completely portable and all three flavors access the exact same data. There isn't anything special you need to do with Windows, Macintosh, or

Re: Portable apps

2013-01-10 Thread As_Simon
I haven't tested Mac OS X Mt Lion directly but I have thousands of users out there and I haven't heard anything back. I think the term Portable only means No Installer so your use is fine. Bill, I haven't had to code sign any of my apps and do not get the Unknown Publisher dialog box. The only

Re: What is wrong with this Script logic?

2013-01-10 Thread Kay C Lan
On Fri, Jan 11, 2013 at 11:43 AM, J. Landman Gay jac...@hyperactivesw.com wrote: Mostly what I wanted to say is that usually I avoid the whole issue like this: on hCheckEntry pData repeat until pData is an integer ask warning Please enter only whole numbers! with pData \

Re: What is wrong with this Script logic?

2013-01-10 Thread Kay C Lan
Jacque, Actuallly this doesn't work for me either. LC locks up, my CPUs go to 100% and I don't even get a recursion message or anything. I have to Force Quit LC. Any further suggestions? On Fri, Jan 11, 2013 at 11:43 AM, J. Landman Gay jac...@hyperactivesw.com wrote: on hCheckEntry pData

Re: What is wrong with this Script logic?

2013-01-10 Thread J. Landman Gay
It isn't really hung, you can command-period to abort the infinite loop. But still. Hm. It locks up for me too, and it didn't used to. Not only that, but if I abort the script I still get a final dialog, and if I hit Cancel in that one, I get the same odd results you do -- part of the script

Re: Portable apps

2013-01-10 Thread J. Landman Gay
On 1/10/13 10:17 PM, Bill Vlahos wrote: InfoWallet works this way. Well, I snipped your excellent response but it was extremely valuable info. Thanks so much. I am not keen on figuring out code signing but maybe it will get easier by the time I get that far. Or maybe we'll get a walkthrough

Re: Sending an email on Windows 8

2013-01-10 Thread Mark Stuart
Hi, I was able to resolve sending an email on Windows 8. It was a syntax issue. Mark Stuart - Regards, Mark Stuart --- LC: 4.6.4 WinXP/7/8 32bit and 64bit -- View this message in context:

Re: What is wrong with this Script logic?

2013-01-10 Thread Mark Wieder
Jacque- Thursday, January 10, 2013, 9:39:35 PM, you wrote: Something's wrong. I think it's the dialog. My guess is that closeField keeps getting triggered. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list

Re: Portable apps

2013-01-10 Thread stephen barncard
you mean before sandboxing, the apple store and certificates? On Thu, Jan 10, 2013 at 9:44 PM, J. Landman Gay jac...@hyperactivesw.comwrote: \ Computers were so much easier in the good old days. -- Jacqueline Landman Gay | jac...@hyperactivesw.com Stephen Barncard San