I need a counter in the following example code.
if(......)
{
count=count+1;
}
However I need to give the varable count an initial value otherwise I get an error. But putting int count=1; above the code does not work, because every time count is reset to 1. Putting int count=1; in the initialize section does not work either, neither the statements
int count;
if (currentBar==1) count=1;
I am a newbie to NT but have experience with other programming languages and EL.
Any help will be appreciated
Comment