I am slowly getting into the basics of the NT editor.
I am able now to create rules and follow the format for inserting/adding/editing of variables.
I am trying to figure out how to optimize a little bit the codes that I am creating ...as I reckon that though they are functional, might not be the best way in terms of performance and load.
This is why I want to ask on an advice of how the optimum code would be for the following:
if(Time[0].Month == 1)
{
Variable5 = 1;
}
else if(Time[0].Month == 2)
{
Variable5 = 0;
}
Should I make it with "else" within the first {} and get rid of the whole "else if" new condition?
Thanks

Comment