Bruce Herbach Posted August 29, 2007 Posted August 29, 2007 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
Ender Posted August 29, 2007 Posted August 29, 2007 It is only needed if you need to pass a value back to the calling script or escape the script in the middle.
IdealData Posted August 29, 2007 Posted August 29, 2007 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.
Søren Dyhr Posted August 29, 2007 Posted August 29, 2007 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now