Difference between revisions of "Exporting a Macro"

From Flowcode Help
Jump to navigationJump to search
Line 11: Line 11:
  
  
If the 'Read Only' option is checked then the exported macro will be locked making the macro unable to be edited when importing back into other Flowcode programs.
+
If the 'Read Only' option is checked then the exported macro will be locked and unable to be edited when importing into other Flowcode program.
  
  
If the 'Private' option is checked then the variables used in the macro will be hidden from the rest of the flowchart and will only be usable by that specific macro, this acts similarly to 'local' variables, although they can only be used by the macro itself and cannot be used anywhere else.
+
If the 'Private' option is checked then the macro will be classed as 'hidden' when importing the macro. The macro will not be shown to the rest of the flowchart program and will not be publicly available - these macros are for private and internal use only.
 +
 
 +
 
 +
By default all macros are for private use and are 'hidden'. This is to let Flowcode know which ones to expose, the [[Interface Manager]] needs to be used to declare any or all of the macros as public - either simulation only or downloadable 'component macros'.

Revision as of 14:49, 22 July 2013

<sidebar>Sidebar: What Is a Macro?</sidebar>

Gen Exporting a Macro 01.png

Macros you create can be exported to a file for later use by importing the macro in another project.

Select the Export option from the Macro menu (Macro > Export...).

Flowcode will then ask you to select the macro you wish to export and then ask you for a filename to save the file.

Flowcode macros are exported with the file extension .FCM


If the 'Read Only' option is checked then the exported macro will be locked and unable to be edited when importing into other Flowcode program.


If the 'Private' option is checked then the macro will be classed as 'hidden' when importing the macro. The macro will not be shown to the rest of the flowchart program and will not be publicly available - these macros are for private and internal use only.


By default all macros are for private use and are 'hidden'. This is to let Flowcode know which ones to expose, the Interface Manager needs to be used to declare any or all of the macros as public - either simulation only or downloadable 'component macros'.