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.
Post Reply
User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am

EV_addVar for locals

Post by Rudi »

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 ;-)

Post Reply