January 3, 201313 yr I am interested in creating a custom function that would allow a user to apply a function to every value in a list. It would look something like this: applyFunction2List ( myList ; "function" ) ... where 'myList' is a text field with return-delimited values, and "function" is a text expression of a user-specfied function. For example, applyFunction2List ("1¶2¶3" ; "[value] * 2" ) would return: "2¶4¶6" I've tried working and modifying CustomFunction() and SubstituteManyWithCalclation(), without much success, but I admit I'm baffled by recursive functions. Any tips would be appreciated.
January 3, 201313 yr Solution I've written some functions that do this, ForEach and ForEach (non-recursive). You can reference these while writing your own, or just use mine. If you find anything I can improve, or want some clarification, please let me know.
January 4, 201313 yr Author Amazing. Exactly what I was looking for, and beautifully documented. Thank you very much for sharing this.
Create an account or sign in to comment