Jump to content
Macro Express Forums

Recommended Posts

There is no GOTO command. But in my experiance of using a lot of logic and programming in ME I have never found it a problem. THere is always a way to structure conditons and repeats to avoid this shortcoming.

Link to post
Share on other sites

Use Break to get exit out of a loop, use Macro Return to exit out of a called macro or to stop the topmost macro, and use Macro Stop to exit a macro. You can also use Repeat Until to perform a loop until a specific condition exists.

Link to post
Share on other sites

Neither did I miss GoTo and there might be a better way to code your problem. But answering your questing, try something like

 

Repeat 1 times
 Action01
 If Condition = Right
   Break
 End If

 Action02
 If Condition = Right
   Break
 End If

 Action03
 If Condition = Right
   Break
 End If
End Repeat

FinalAction

 

 

 

Note that I coded this without ME so please pay no attention to the syntax :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...