Oh I just thought of what really set me thinking about this. Let's say you wanted a command to check every 10 seconds for the state of a folder, and then have your stack ready to do other things meanwhile. You cannot do that. A handler has to be running to make the call to check status.
I suppose you can have a recursive function that calls itself in time, but can LiveCode be doing other things at the same time? I dunno. Bob On Jan 18, 2011, at 5:16 PM, Andre Garzia wrote: > On Tue, Jan 18, 2011 at 11:09 PM, Richard Gaskin <ambassa...@fourthworld.com >> wrote: > >> Bob Sneidar wrote: >>> Well my thought was that LC would benefit hugely if 2 or more stacks >>> could be running in their own thread. Take for example an accounting >>> app. Normally you could have the Customer Entry form open, and the >>> Accounts Receivable window open in most well written apps. Sure you >>> could in LC too... so long as one of the windows was not in the >>> process of doing anything, like oh say compiling data for a really >>> large report. >> >> If RunRev would reenable being able to run an app from the command line, >> conceivably you could run the report processing using a second standalone >> facelessly. >> >> Sure, it's a bit of a kludge, but would be dirt-simple to implement, and >> wouldn't expose the treachery of race conditions to the masses. :) >> >> > been there but it is hard to exchange messages between the instances... :-/ > > > >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode