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
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
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
> 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
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
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-
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
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
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
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
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
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
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
> 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
14 matches
Mail list logo