push and pop -- access to the 'last' card?
Posted: Wed Apr 17, 2013 4:41 am
I have a couple of cards that each navigate to the same (third) card.
In the scripts that go to that card, I use 'push card' to store where I came from. Then I use 'pop card' to go back.
I want slightly different behavior based on which card I am coming from. The most obvious and simplest way would seem to utilize the list that 'push' and 'pop' use and just check the card on the top of the list. I can't find anything in the documentation to indicate this is possible. Is that list available ... Anyone know?
I know that I could set a custom prop somewhere but if this information is already stored by the system (which it is) and is accessible (that's my question), why duplicate it?
Thanks in advance.
In the scripts that go to that card, I use 'push card' to store where I came from. Then I use 'pop card' to go back.
I want slightly different behavior based on which card I am coming from. The most obvious and simplest way would seem to utilize the list that 'push' and 'pop' use and just check the card on the top of the list. I can't find anything in the documentation to indicate this is possible. Is that list available ... Anyone know?
I know that I could set a custom prop somewhere but if this information is already stored by the system (which it is) and is accessible (that's my question), why duplicate it?
Thanks in advance.