Push Card

dunbarx at aol.com dunbarx at aol.com
Tue Oct 22 13:40:48 EDT 2019


This goes back to 1987. The HC team assumed that most people would navigate
like crazy, think rolodex, and being able to retrace ones history would be a
very useful tool.

There should be a "clear recent" command, so that the piles of cards in that
history can be eliminated. But LC has things that make this simple, the
"recentCards" and "recentNames" properties.

Craig


-----Original Message-----
From: JB via use-livecode <use-livecode at lists.runrev.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: JB <sundown at pacifier.com>
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’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 not going to be very difficult.

thanks for the help!

JB

> On Oct 22, 2019, at 9:14 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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 <use-livecode at lists.runrev.com> 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 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
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at 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 at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list