"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: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

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

"go back" without the go?

Post by Simon » Sun Jun 08, 2014 10:22 pm

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: 3444
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: "go back" without the go?

Post by bn » Sun Jun 08, 2014 10:57 pm

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 » Sun Jun 08, 2014 11:24 pm

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
Location: Palo Alto

Re: "go back" without the go?

Post by Simon » Sun Jun 08, 2014 11:33 pm

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
Location: Göttingen, DE

Re: "go back" without the go?

Post by [-hh] » Mon Jun 16, 2014 10:56 pm

..........
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
Location: Palo Alto

Re: "go back" without the go?

Post by Simon » Tue Jun 17, 2014 12:04 am

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

Return to “Getting Started with LiveCode - Experienced Developers”