I need to use 2d array (of chars or strings), does flowcode support that?
I tryied to define an array inside "c code" but when i try to approach the array in other flowcode functions flowcode dont recognize it.
What i'm trying to do is to build a menu for 4*16 LCD so i can scroll the menu according the buttons and the menu will change,
I'm using the LCD component to display strings and i want to send the display LCD component different strings that are stored in the array.
How can I use 2d arrays?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How can I use 2d arrays?
Hello Hazic
Unfortunalty Flowcode does not currently support 2d data arrays. You should however be able to pass a numeric parameter and then use a switch icon to specify a string based on the parameter.
Unfortunalty Flowcode does not currently support 2d data arrays. You should however be able to pass a numeric parameter and then use a switch icon to specify a string based on the parameter.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: How can I use 2d arrays?
Just to be sue, you mean to change avariable according to the switches (for index) and to use decisions for each index number so that each decision will display a different stage of the menu?