Difference between revisions of "Importing a Macro"
m (ReeceL moved page Importing A Macro to Importing a Macro without leaving a redirect) |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | To import a previously [[Exporting a Macro|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. | |
− | |||
− | To import a previously exported macro into Flowcode, select Import from the Macro menu. 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. | 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 then a warning message will appear asking if you wish to proceed with the import. | + | 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. | 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. |
Latest revision as of 07:56, 2 July 2019
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.