Jump to content
Macro Express Forums

Recommended Posts

Has anyone ever experimented with structured programming methods? Before I retired, I began creating extremely complex macros using structured programming to create what can be thought of as subroutines with repeatable calls and returns dependent on the values of certain variables to control the logical flow. It brought Macro Express programming up to the level of the more advanced languages. I highly recommend it.

Share this post


Link to post
Share on other sites

If you mean using generic macros as functions or subroutines, of course I have. I try not to write any code twice. 

Share this post


Link to post
Share on other sites
19 hours ago, Jeff said:

It brought Macro Express programming up to the level of the more advanced languages

Yes and no.  Lots of nice features in ME that make it easy to do stuff beyond keyboard and mouse functions.  For simple jobs it's quick and easy, but then one can get sucked in to using it beyond where its strengths are.  As a high-level language, the fact that you have to define your own inter-module structure means my techniques will probably differ a lot from yours.  Like the days when every bicycle mechanic became his own automobile manufacturer -- eventually Henry Ford had a better idea.  ME works nicely as one tool in the box but doesn't replace the whole box. 

Share this post


Link to post
Share on other sites

I’m not sure exactly what you mean by structured programming? If not simply using ‘sub macros’ widely, as I expect most experienced users do, then could you give an example please?


One downside in MX Pro is managing variables reliably across the constituent sub macros. I’m not a programmer but I assume that’s not an issue with modern programming languages.

Share this post


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...