Skip 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.

Exit Script step issue

Featured Replies

Hi all:

I have a question regarding what FM means when they say 'Exit Script Step exits sub/external scripts and returns control to main script.'

Do they conside the 'Main Script' to be whatever script is one-level outside the currently running script, or do they mean you jump back to the 'outermost' level? Here's what I mean:

'---- Level #1 ---------

Do Something Cool

Do Something Else Cool

If [something happens uncool]

...'----- Level #2 --------

...Make it better

...Make it even better

...If [it's really better now]

......'----- Level #3 --------

......Wow

......great

......Exit Script **************

...End If

Else

...Sorry, you broke it!

End If

... would the Exit Script in 'Level #3' (for lack of a better term) return you to what was happening in Level #2 subscript, or would you jump all the way back out to whatever happens next in Level #1?

The definition seems to say you would jump back one level, but in practice it seems to me to be going all the way out to my outermost script. But I don't know if it's SUPPOSED to or if I have screwed something else up.

Thanks

Kurt

Are your Levels sub-scripts or If steps? Exit Script returns control to the calling script/sub-script for the current script and acts like a Halt Script if used in the main script. So an Exit Script in an If step in a main script (regardless of how 'deep' it may be) aborts the entire script.

Just for clarification, a sub-script is one that is called via Perform Script within the main script or another sub-script.

  • Author

BINGO! Thanks for the clarification.

Kurt

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.