Re: Push Card

2019-10-22 Thread dunbarx--- via use-livecode
rom: Peter Bogdanoff via use-livecode To: How to use LiveCode Cc: Peter Bogdanoff Sent: Tue, Oct 22, 2019 2:40 pm Subject: Re: Push Card Hi Andrew, I think the problem is having very many cards—in the thousands, each with text, images, etc.—that I experience slowdowns. The stack taking a long ti

Re: Push Card

2019-10-22 Thread Peter Bogdanoff via use-livecode
Hi Andrew, I think the problem is having very many cards—in the thousands, each with text, images, etc.—that I experience slowdowns. The stack taking a long time to open, save, go to cards, and just wanting to freeze for awhile. When I changed my method to just a few cards with the text and the

Re: Push Card

2019-10-22 Thread doc hawk via use-livecode
On Oct 22, 2019, at 8:49 AM, Bob Sneidar via use-livecode wrote: > > I have tried push and pop before but you really have to keep track of the > pushed cards or you end up somewhere unexpected. Every time I’ve tried to use push/pop, it’s been more trouble than it was worth—with the lone exc

Re: Push Card

2019-10-22 Thread Bob Sneidar via use-livecode
> On Oct 22, 2019, at 11:01 , Andrew Bell via use-livecode > wrote: > > I learned HyperCard in K-12 during the '90s and moved to LiveCode a couple > years ago. My coding efficiency and strategies have developed considerably > over my past couple projects. I don't make a new card for everyth

Re: Push Card

2019-10-22 Thread Brian Milby via use-livecode
ing, but easily end up with a dozen cards in a stack for most > projects. > > Are you saying that LC is better suited to just throw everything onto > 1 card then turn on&off the visibility of groups/etc.? > > --Andrew Bell > > > > Subject: Re: Push Card > > Mess

Re: Push Card

2019-10-22 Thread Andrew Bell via use-livecode
projects. Are you saying that LC is better suited to just throw everything onto 1 card then turn on&off the visibility of groups/etc.? --Andrew Bell Subject: Re: Push Card Message-ID: <2d259a07-7c34-4337-9dbb-24f2ff8e6...@iotecdigital.com> Content-Type: text/plain; charset="us-

Re: Push Card

2019-10-22 Thread JB via use-livecode
has things that make this simple, the > "recentCards" and "recentNames" properties. > > Craig > > > -Original Message- > From: JB via use-livecode > To: How to use LiveCode > Cc: JB > Sent: Tue, Oct 22, 2019 12:28 pm > Subject: Re

Re: Push Card

2019-10-22 Thread dunbarx--- via use-livecode
hings that make this simple, the "recentCards" and "recentNames" properties. Craig -Original Message- From: JB via use-livecode To: How to use LiveCode Cc: JB Sent: Tue, Oct 22, 2019 12:28 pm Subject: Re: Push Card Do you mean to also keep a track of my own card id

Re: Push Card

2019-10-22 Thread JB via use-livecode
Do you mean to also keep a track of my own card id’s and then eliminate the ones I do not want in the list? That would probably work but I think I will just write the code differently for this program. It is not a big problem but the ending up where I did not expect just needs to be fixed and is

Re: Push Card

2019-10-22 Thread Bob Sneidar via use-livecode
One way to do this is to have a single function do the pushing and popping so it always knows where it is. Bob S > On Oct 22, 2019, at 09:04 , JB via use-livecode > wrote: > > I don’t have very many cards but eventually I end > up somewhere I didn’t expect and if I cleared the > list it wou

Re: Push Card

2019-10-22 Thread JB via use-livecode
I don’t have very many cards but eventually I end up somewhere I didn’t expect and if I cleared the list it would take care of the problem. But if I take the time to write the code better I can solve the problem without using push and pop. JB > On Oct 22, 2019, at 8:49 AM, Bob Sneidar via use-li

Re: Push Card

2019-10-22 Thread Bob Sneidar via use-livecode
I have tried push and pop before but you really have to keep track of the pushed cards or you end up somewhere unexpected. I'm still not sure what the utility of having lots and lots of cards is, if that is what you are doing, especially considering that the LC engine is not optimized to use tha

Re: Push Card

2019-10-22 Thread JB via use-livecode
Thank you for the info! I think I am going to rewrite the code to work better and eliminate using push card for this instance. JB > On Oct 22, 2019, at 3:44 AM, hh via use-livecode > wrote: > >> JB wrote: >> The list of pushed cards is cleared when you quit the application. >> Is there a way

Re: Push Card

2019-10-22 Thread hh via use-livecode
> JB wrote: > The list of pushed cards is cleared when you quit the application. > Is there a way to clear the list without quitting the application? You could try on mouseUp put "home.livecodescript""e into tA repeat pop card into tB if tB ends with tA then exit repeat end repeat e