answersLogoWhite

0

What is a macro in flow code?

Updated: 11/1/2022
User Avatar

Wiki User

12y ago

Best Answer

Flowcode uses macros to facilitate the control of complex devices including 7-segment displays, LCD displays, ZigBee RF devices, TCP/IP modules etc.

The use of macros allows developers to control highly complex electronic systems without getting bogged down in understanding the programming involved.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a macro in flow code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How many lines of code on average can a programmer writetest and document?

The answer will vary depending on the development environment being used. Some development environments e.g. Microsofts Visual Studio, allow developers to write macros that will write code for them. I have a 3000 line macro that I use to build class libraries. Each time the macro is run it will write 1500 lines of code so is this code I have written after all, I wrote the macro that wrote the code?


What is a macro in c plus plus?

A macro is preprocessor definition that is processed prior to compilation. All occurances of a macro within your C++ source code are replaced with the macro definition, much like an automated search-and-replace-all operation. If the macro's definition is a function with one or more arguments, then the function is inline expanded within your code, replacing the defined arguments with the arguments that were passed to the macro. However, macro functions are not type safe and cannot be debugged because they only exist in your source code; the compiler only sees the intermediate code emitted by the preprocessor, at which point all macro definitions will no longer exist. To address this problem, C++ also supports the concept of template functions, which not only eliminates any unwanted inline expansion (resulting in smaller code), but also ensures that all calls to the function are type safe and can be debugged in the normal way. That said, macro functions, when used appropriately, can greatly simplify your code and can achieve things that would be difficult if not impossible to achieve with C++ alone. The ability to use code fragments via a macro is one such possibility. However, when combined with preprocessor directives such as #ifdef DEBUG, macros can also be used to provide useful and powerful debugging routines that only exist in debug code, compiling to no code in release builds. This cannot be achieved with C++ alone.


What is enclosed between a macro header statement and a macro end statement?

The macro content.


What is conditional macro?

macro means big or large...


What are MACROS in 8086 microprocessors?

Macro is a segment of code that needs to be written only once but whose basic structure can be repeated with each reference

Related questions

What virus attaches to documents such as word or excel files?

Macro viruses use Microsoft Word and Excel's capabilities to embed code and programs into the document. When the document is opened, the macro virus is executed and infects your computer.


How do you edit a macro stored in your personal macro workbook in excel?

You can open the Macro dialog box by pressin Alt - F8. Then choose the macro you want and click Edit and it will bring you into the code of the macro. You do need to be careful and to be sure you know what you are doing before changing anything.


How many lines of macro code an excel sheet accept?

3


How many lines of code on average can a programmer writetest and document?

The answer will vary depending on the development environment being used. Some development environments e.g. Microsofts Visual Studio, allow developers to write macros that will write code for them. I have a 3000 line macro that I use to build class libraries. Each time the macro is run it will write 1500 lines of code so is this code I have written after all, I wrote the macro that wrote the code?


What is a macro in c plus plus?

A macro is preprocessor definition that is processed prior to compilation. All occurances of a macro within your C++ source code are replaced with the macro definition, much like an automated search-and-replace-all operation. If the macro's definition is a function with one or more arguments, then the function is inline expanded within your code, replacing the defined arguments with the arguments that were passed to the macro. However, macro functions are not type safe and cannot be debugged because they only exist in your source code; the compiler only sees the intermediate code emitted by the preprocessor, at which point all macro definitions will no longer exist. To address this problem, C++ also supports the concept of template functions, which not only eliminates any unwanted inline expansion (resulting in smaller code), but also ensures that all calls to the function are type safe and can be debugged in the normal way. That said, macro functions, when used appropriately, can greatly simplify your code and can achieve things that would be difficult if not impossible to achieve with C++ alone. The ability to use code fragments via a macro is one such possibility. However, when combined with preprocessor directives such as #ifdef DEBUG, macros can also be used to provide useful and powerful debugging routines that only exist in debug code, compiling to no code in release builds. This cannot be achieved with C++ alone.


What are you doing when you export a macro?

You are copying programming code from one application to another.


What happens when you place an apostrophe at he beginning line in an excel macro?

An apostrophe will turn the line it starts into a comment, so if it includes any code it will not run and if it is regular text it will not crash the macro for being considered invalid code.


Difference between procedures and macros in 8086?

1.procedure does occuie minimum memory space than macro.2..overhead delay in macro is absent..3.in macro machine code is generated for instructions each time when it is called but in procedure machine code for instruction is put only once in the memory..4.proc is accessed by call and set instr ..macro is accessed with the name given..


You have recorded a macro. By mistake you recorded an action in it which you do not want. How will you remove the unwanted action without having to record the whole macro again?

All you need to do is edit the macro and remove the section you do not want in the macro. Excel 2007: From the Developer tab on the Menu ribbon, click on the Visual Basic icon in the Code section. See related links for a detailed tutor on how to edit an Excel macro.


Is Macro better than subroutine in terms of execution time?

Not particularily. It depends on what you are trying to accomplish. Generally, the more code you have stored in a module (Macro or sub-routine), the longer it will take to execute.


Why wont your maco work what have you done rong?

It could be any number of things. Maybe Blizzard changed a little code in the client to break the macro. Without seeing the macro we have no idea what is wrong with it.


What is the difference between executing a macro and calling a macro?

Calling a macro loads the macro into memory, while executing the macro runs the macro.