Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Interesting Custom Function behavior


This topic is 7310 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Well, I just spent at least half an hour beating my head against the wall over what turned out to be a very silly error, but it led to an interesting discovery.

I was editing a script that I knew was working, but when I went to save changes, it gave me an Invalid Parameter error. So I canceled the edit, went back in, and tried it again. Same thing. After considerable futzing around with the script, I decided to actually re-create the script, and made an interesting discovery.

If you create a custom function with multiple parameters, incorporate it in a script, then edit the function and change the number of parameters, the function keeps working in the script, even with the invalid syntax. Apparently there's no dependency checking when editing custom functions.

While I wouldn't call it a bug, this is definitely unusual behavior.

This topic is 7310 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.