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.

Changing Variables in script

Featured Replies

When writing a script the function Set Variable is available. My question is. After you Set the Variable how do you change it in the script. For example:

What if I Set Variable $Examp to 25. Then later in the script I want to add 15 to the variable.

Do I just do another Set Variable with the same name?

Set Variable [ $Examp ; Value: 25 ]

... do several script steps

Set Variable [ $Examp ; Value: $Examp + 15 ]

...then you can set a field with the returned value of 40 as: Set Field [ field ; $Examp ]

When in doubt, create a field and try setting it with various configurations. Math is great for testing because the logic is clear. And you have Data Viewer (FMA); you can use it to evaluate or monitor your variables. It's very cool! :wink2:

LaRetta

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.