Page 1 of 1

is it possible to create library of functions?

Posted: Sun Oct 28, 2007 12:38 pm
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

Posted: Mon Oct 29, 2007 8:24 am
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.

Posted: Mon Oct 29, 2007 1:21 pm
by elecrobot
thanks steve.. really appreciate your help