Auto-incrementing Variable in MAP AS Function
The MAP AS function has proven to be an invaluable tool for us to streamline our workflows and avoid using cumbersome for loops. Nevertheless, we have run into situations where we were forced to switch back to using for loops due to the absence of an auto-incrementing variable within the map function.
To elaborate, we frequently encounter scenarios where we need to remap filenames within a FileGallery to conform to specific naming conventions or add suffixes like "Pic 1," "Pic 2," and so on. Currently, this cannot be efficiently achieved using the map function, as there is no straightforward way to auto-increment a variable within its scope.
Our feature request is to add an auto-incrementing field or variable within the map function.