in reply to Ways to control a map() operation
It may be helpful for you to browse our fine collection of Tutorials. I direct your attention to Map: The Basics, in particular. :-)
HTH,