Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Best practice for exiting scripts?

Featured Replies

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

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

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.

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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.