Using card with the long id in a variable

Bob Sneidar bobsneidar at iotecdigital.com
Thu Jun 23 13:56:42 EDT 2022


Hi all. 

I just ran across an interesting "bug". In the IDE I had erroneously used the keyword "card" with a reference to the long id of the card as in card pParentCard. Since the long id already contains the keyword card it resolved to card "card ID 12345 of stack x of stacks". 

The strange thing is that in the IDE this worked and did not throw an error. But in a standalone it did. Of course, the proper retort would be, "Well that don't do that."

Bob S


More information about the use-livecode mailing list