It's a single number, not an array. I'm not sure how the AFL interpreter decides, but I'm guessing the preprocessor probably scans the file first to see if it's used as an array anywhere and makes it an array if it is, otherwise it makes it a single number. That's just a guess though.
GP --- In [email protected], "xxnospamxx" <[EMAIL PROTECTED]> wrote: > > In the code below, is sellBar1 an array or a scalar? > How does afl decide whether to allocate an array? > > sellBar1 = -100; > for (bar = 1; bar < BarCount; bar++) > { > if (sellTrigger[bar]) > { > Sell[bar] = 1; > sellBar1 = bar; > } > } >
