Importing a Macro

From Flowcode Help
Jump to navigationJump to search

To import a previously exported macro into Flowcode, select 'Import' from the 'Macro' menu (Macro > Import...). Flowcode will ask you to choose the filename of the existing macro. Flowcode will then import the macro using the same macro name as when it was exported. If the macro name already exists then Flowcode will ask for a new name for the macro.


Any variables used in the macro will be added to those already in the main program allowing you to use those variables in other parts of your program.

If any of the variables names already exist which cannot be merged then a warning message will appear asking if you wish to proceed with the import.

If you proceed you will be asked if you wish rename the conflicting variables.


Rename Macro Variable

Changes the macro name to the specified text in the edit box.


Use Existing Variable

Treats the imported variable as being referenced to the already existing variable, keeping the same name.