> On 18 Aug 2017, at 13:58, Les Newell <[email protected]> wrote:
> 
> Looking at the code this looks suspect:
> 
> out(i) = (bargraph) ? (in > i) : (in == i);
> 
> Shouldn't it be:
> 
> out[i] = (bargraph) ? (in > i) : (in == i);

It might need to be out_(i) to avoid conflict with a built-in but the round 
brackets are correct for numbered pins. It's a quirk of how the halcompiler 
works, and forgetting it is a common "invisible" bug when I write components. 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to