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

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

Recommended Posts

Posted

What is the recommendation on using Exit Script at the end of all scripts.

I have found it useful for passing information back to a calling script, but should it be end of a script the script even when there is no data to pass back?

Thanks

Sculler

Posted

It is only needed if you need to pass a value back to the calling script or escape the script in the middle.

Posted

I never used the Exit Script as all previous scripts were in FMP 5.5/6 and there was no support for parameter passing then. Instead I invented my own method using global fields.

FWIW I always allow my scripts to run to completion with properly nested If/Else constructs - just old habits really.

Posted

my own method using global fields

Yikes - Which of course it avoided just as swiftly as it entered your habits!

http://en.wikipedia.org/wiki/Global_variable

--sd

This topic is 6295 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.