Proton Macro Generator Wizard

Overview

This wizard will generate a set of Macro code statements which can be added to your Proton project.  To learn more about macros see What is a Macro, for the already enlightened, read on….

 

The code generated by the wizard will be determined by the:

 

Arguments you want to pass in the macro

Code you want to execute the macro

Return value your code might return. 

 

The wizard will also produce the hint text code enabling your macro to appear as part of the normal Proton basic command set.

 

For a sample of what the wizard can do see Example Macros.

 

The wizard will take you through 3 steps gathering information from you before generating the macro code.  You will then be presented with the proposed code which you can review or edit.  Once complete you can choose whether to insert it directly into your project or save it to a file.

 

Basic instructions are provided with each step and will, in general, be all you need to complete the process.  You should only need to refer to the help file in rare instances.

 

To learn more about the individual steps see:

 

Starting Wizard

Naming the Macro

Input Arguments

Enter Routine to call and Return Variable

Review and Edit the Macro Code

Review and Edit the Hint Text

Saving the Result

Finishing Up

 

Limitation - The Macro Generator Wizard will produce the framework of a Macro which will pass data to a routine and/or return data from a routine.  You, as the software developer, will still need to write the routine or add additional Macro code where applicable.