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.

Which script fuction would I use?

Featured Replies

I am not sure what fm function I would use to accomplish the following.

I have a text field 'list' containing a list of numbers, separated by returns, that can be as long or short.

5

2

98

34

21

56

34

10

6

I need to make a calculation that will go to one of these numbers in the list replace it with something and then any numbers below the one I changed will be erased from the list.

Example:

I want to replace the number 21 in the list with 14. So the new list will look like:

5

2

98

34

14

I know how to go to the number and replace it but how do I erase all the number below.

Use LeftValues, like:

Let ( [newlist = LeftValues (list ; N - 1 ) ]; // N = number of values to keep

newlist &

Here ya go.

Let ( [

xo =oldValue;

xn = newvalue;

E = Left(list;Position(list & "

  • Author

Thanks that worked, I was looking at the problem from the wrong end. Trying to delete what was below instead of just saving what I needed.

Thanks again

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.