View Single Post
 
Old 08-26-2020, 04:15 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

RedZed

As the saying goes "To a man with a hammer, every problem looks like a nail"
To put it another way, just because you know how to use a For loop doesn't make it right for every task.

Study the code I provided and step through it to understand what it is doing. Then use that structure to see if you can apply it to your problem without a need for a loop.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote