"go back" without the go?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

"go back" without the go?

Post by Simon »

Hi all,
"go back" returns you to the most recently visited card so liveCode is storing that information somewhere.
My question is how do I retrieve that information without having to go to that card?
previous/last/back nope.

Thanks,
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: "go back" without the go?

Post by bn »

Hi Simon,

check recentCards, recentNames

Kind regards
Bernd
skiplondon
Posts: 16
Joined: Mon Nov 25, 2013 8:35 pm

Re: "go back" without the go?

Post by skiplondon »

As stated, recentcards will work. Just remember it lists the cards in reverse order so that the most recent card is at the top of the list.
Skip Kimpel - Magicgate Software
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: "go back" without the go?

Post by Simon »

WeeeeHeee!
I knew liveCode had it in it!

Thanks Bernd!

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: "go back" without the go?

Post by [-hh] »

..........
Last edited by [-hh] on Wed Aug 13, 2014 2:23 pm, edited 1 time in total.
shiftLock happens
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: "go back" without the go?

Post by Simon »

Thanks Hermann,
More tricks for me.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Post Reply