currentCard vs this card (was Re: 2 quick questions)

Hugh Senior h at FlexibleLearning.com
Wed Jun 16 14:06:50 EDT 2010


Correct syntax would have to be:
  put the name of cd (the currentcard of stack "Home")

'the currentCard' and 'this card' are not the same and not
interchangeable...

  put the name of this cd of stack "Home" = card "Home card 1"
  put the currentCard of stack "Home" = Home card 1

therefore
  put the name of cd the currentCard of stack "Home" = card "Home card 1"

/H


----------------
I just tried this. It doesn't work.

put the name of the currentcard of stack "License Maker"
--> Message execution error:
--> Error description: Chunk: can't find card

"Current card" does, but "currentcard" doesn't. As far as I know
current and this are interchangeable.

--
Best regards,

Mark Schonewille
----------------




More information about the use-livecode mailing list