Problem with go to
Dears;
I have a problem in which I've spent some hours without finding the solution. I've a big program with this structure more or less: Do while ma1 seq=ma2(.....) ma = ma-1 Loop Do while ma=1 seq=ma1(.....) ma = ma-1 Loop Do while mm1 seq=mm2(.....) mm = mm-1 Loop Where ma2, ma1, mm2 are functions and this code is in a sub. ma2 gives me the first result. This first result can affect the results of the other functions, and depending on the results of ma1, mm2 maybe I've to come back to the beggining of the problem. And I don't know how to do this "go to". Can you help me please? If I have misexplained anything please, tell me. Thanks and KR! -- atrep |
Problem with go to
Could you place your loops inside an outer loop?
"xavi garriga" wrote in message ... Dears; I have a problem in which I've spent some hours without finding the solution. I've a big program with this structure more or less: Do while ma1 seq=ma2(.....) ma = ma-1 Loop Do while ma=1 seq=ma1(.....) ma = ma-1 Loop Do while mm1 seq=mm2(.....) mm = mm-1 Loop Where ma2, ma1, mm2 are functions and this code is in a sub. ma2 gives me the first result. This first result can affect the results of the other functions, and depending on the results of ma1, mm2 maybe I've to come back to the beggining of the problem. And I don't know how to do this "go to". Can you help me please? If I have misexplained anything please, tell me. Thanks and KR! -- atrep |
All times are GMT +1. The time now is 11:51 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com