as new user of Flowcode with little C/Pascal experience i really think this is a great way of programming,
in just one morning have created a full functioning switching thermometer with LCD display. Would have not done that in any way on the good old MPLAB environment

But, still some questions to fill in:
in a new project we have to retrieve 16 different values of a multiplexed analog input.
On portB i have created a digital 4 bits counter that controls an analog multiplexer switch. This switch connects one of 16 signals to the analog input on port A0. So far, so good, this works.
But now i have to store all these 16 values in its own variable, for checking, vieuwing and calculating all these 16 values.
Normally we could use the multiplex-counter value 0-15 for someting like
"variable[counter] = value portA0" to create variable0 to variable15 with each the analog value of this signal.
Have not found any matrix or for-next possibility like this in our Flowcode 3-Pro.
Now in Flowcode3 i have created a tree with 15 decisions "IF counter=0" then "variable0= value portA0". This works but takes a lot of program memory space (always have too little of this

Do you have a more efficient way for this?
Also, later in the programm we have to make decisions with these variables
"if variable0 > 50" then "output portB1=1"
"if variable1 > 70" then "output portB1=0"
etc. for checking all the 15 inputs.
Same as above, what should be the best way of creating that?
Many thanks in advance,
Luuk Aalders
(electronics engineer)
RS Technics BV - The Netherlands