What is the correct way to say:
if this is the last card then
thanks
last card
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 73
- Joined: Sat Apr 08, 2006 6:51 pm
last card
In nova fert animus mutatas dicere formas corpora.
-
- VIP Livecode Opensource Backer
- Posts: 10045
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
The number property is your friend:
if the number of this cd = the number of cds of this stack then...
if the number of this cd = the number of cds of this stack then...
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
you could also check some property of the last card, as in:
but i too like the number way of saying it better
Code: Select all
if the id of the last card = the id of this card then
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode