assemble 2 programs flowcode V6

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

mnf
Valued Contributor
Valued Contributor
Posts: 493
Joined: Wed May 31, 2017 11:57 am
Has thanked: 52 times
Been thanked: 278 times
Contact:

Re: assemble 2 programs flowcode V6

Postby mnf » Wed Jan 30, 2019 11:11 am

The second program you have posted is the C source of a Flowcode program.
Upload the FC - (.fcfx) code.

Generally it is pretty easy to combine programs - problems can occur with global variables - but exporting and then importing the macros (it's always worth splitting programs into macros rather than putting too much logic into 'main') of the second program into the first (have two windows open and cut and paste or export / import the macros) should get you most of the way - the code for main is harder - as the logic of the two sub programs will need to be combined - rather than running one then the other.

Martin