Page 1 of 1

Import Variable List by File to Variable Manager

Posted: Mon May 12, 2014 12:38 pm
by Rudi
Hi
I have a think about this, and i have search it.
Only over Variable Manager it can make New Variables for work with Flowchart.. and "Compo" ..

The C Icon new Variable only later in Code.. but not in Compo avaiable..( or ? )

If i need many Variables / Strings.. it must set in Variable Manager ( Variable.. Constante,
it would be fine, if FC Variable Manager have a new Function.. and can "Import" a Variable List by File like this or similar

Variable.txt
count=4
A1;string[30];""
A2;string[20];"initString"
I1;byte;255
bI1;bool;0

or a new Icon
"Variable List"
"String List"
..

;-)


Best wishes!
Thank you.
Rudi
;-)

Edit

i added a Pic for better understand
because my bad english is not clear all.

Re: Import Variable List by File to Variable Manager

Posted: Tue May 13, 2014 11:43 am
by LeighM
Hi Rudi,

A tip that might help you when creating many variables:
You could edit the project fcfx file, it is XML.
You will see the variables section, in which you can copy and paste a variable definition and then edit the name.
Or copy and paste from another project.

Flowcode will not simulate anything in a C icon, it is ignored.

Leigh