EV_addVar for locals

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

EV_addVar for locals

Postby Rudi » Tue Jun 14, 2016 12:44 pm

hi guys

if we can use EV_addVar for locals too,

EV_addVar_local.png



then we can use this for expansion like this

Code: Select all


void FCM_counting()
{
   //Local variable definitions
   
        // without EV_addVar
        // MX_UINT16 FCL_STATIC_I;

        // after EV_addVar
        static MX_UINT16 FCL_STATIC_I;


   // Calculation
   FCL_STATIC_I = FCL_STATIC_I + 1;

}


best wishes
rudi ;-)