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

Cannot override built-in functions in scripts #103

Open ooper-zz opened 2 years ago

ooper-zz commented 2 years ago

the following script works in HC 2.4, but breaks in WyldCard: function-override

WyldCard is breaking during script parsing when overriding a built-in function. However, HyperCard lets it through, allowing you to override the function, and executes it if the function is "passed" (eg. pass menuItems). This is true for other built-in functions, like time().

Shouldn't WyldCard behave the same way?