defano / wyldcard

A clone of Apple's HyperCard and HyperTalk scripting language.
https://github.com/defano/wyldcard/wiki
MIT License
117 stars 12 forks source link

The number of the current background doesn't resolve #94

Closed ooper-zz closed 2 years ago

ooper-zz commented 2 years ago

When I send "the number of this bg" via the message box, the system returns an error. It should return the number for the current background with respect to the stack. None of the other legal synonyms for 'background' seem to work either.

defano commented 2 years ago

Nice catch! Turned out to be a dumb mistake in the expression used to find the number property of a background. It should be resolved now.

ooper-zz commented 2 years ago

Awesome. Thanks for taking care of it so quickly. That fix will give me a good entry point into wh look at in a similar situation moving forward. Thinking about importing some of the most well-known stacks. Perhaps we can surprise Danny Goodman with Focal Point running on WyldCard, haha. I am sure that one will uncover plenty of stuff to work on. TTYL

Sent from my iPhone

On May 15, 2022, at 6:38 AM, Matt DeFano @.***> wrote:



Nice catch! Turned out to be a dumb mistake in the expression used to find the number property of a background. It should be resolved now.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdefano%2Fwyldcard%2Fissues%2F94%23issuecomment-1126944304&data=05%7C01%7C%7C63a6267d8ab54cb6d48a08da36783dcb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637882187302434318%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NgQNj8%2B88GGo0xPpV%2BARN%2F3b4f2wVjBT2rPJJDRDZRM%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAZ473WNN2MAIVGY7C3AITLVKD46PANCNFSM5V57GHEQ&data=05%7C01%7C%7C63a6267d8ab54cb6d48a08da36783dcb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637882187302434318%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Z%2B8vTaeXuXHE7gj0IzJzAjGHj60Gb4ixZucjO9nbVwc%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>