Bobw wrote:Good,
Glad FC will let you copy parts of things from one saved file to another.
I have kind of built my code in chunks and saved each under a different name as I went. Time to start putting it all together into one file.
Can't thank you guys enough for all the help.
Bob
Your welcome.
If you don't already know, you can import macros (including all assigned variables) directly into flowcode.
If you have not created a macro, and only got main:
Click on macro, new. Enter a name but don't change any of the parameters.
Select all of your flowchart ,and select copy. paste flowchart in the new macro. Then go to macro menu and select export..
Finally on the flowchart you want to import, select Macro menu and import.
If variables are the same, then ignore conflict message, and just select keep existing names.
You can either keep macro and use a macro component to call macro. Or
you can cut the flowchart on the macro , then paste in main.
You are correct you can also copy and paste but that does not assign variables, if not using macro, you will need to add variable, if does not already exist.
BTW when I said that sounds about right, you dont add the two numbers together.
you could either use IntValue = ByteLow+(ByteHigh << 8)
Or IntValue = ByteLow+(ByteHigh * 256)
So your adding ByteHigh x 256 to ByteLow
Hope this helps, and not confuses.