Oddity in 'currentCard' function?

J. Landman Gay jacque at hyperactivesw.com
Thu Oct 26 15:26:47 EDT 2023


On 10/26/23 11:17 AM, Mark Wieder via use-livecode wrote:
> So basically to stay out of trouble "currentcard" should be thought of as a write-only property?

It can be read if you supply syntax that requests a legal value; i.e.:

   the name of the currentCard of stack X
   the loc of the currentCard of stack X
   the backColor of the currentCard of stack X

Cards themselves have no intrinsic value (what would they return?) but their properties do. 
Similarly, what would expect to see if you:

    answer stack X

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list