is it possible to create library of functions?

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

Moderators: Benj, Mods

Post Reply
elecrobot
Posts: 12
Joined: Tue Oct 09, 2007 11:18 pm

is it possible to create library of functions?

Post by elecrobot »

Hi guys

can anyone plz let me knw if its possible to create library of functions in flowcode e.g. if i create a macro and save it on hardisk and then recall even in other programs written in flowcode. the benefit of doing this to me will be i won't have to create same macro again and again?

any comments? thanks,

elecrobot

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Hello,

You can create a macro within a Flowcode program and export it. You will then be able to import it to any other program you are using. If you are doing this, it is best to only use variables that are "local" to the exported macro, rather than global variables.

If you use C code, you can also write your own functions in separate .h and .c files, and "#include" them in the "supplementary code" window of Flowcode.

elecrobot
Posts: 12
Joined: Tue Oct 09, 2007 11:18 pm

Post by elecrobot »

thanks steve.. really appreciate your help

Post Reply