Hi Andy,

I probably won't get any time to look into this for a couple of days.

Les

On 18/08/2017 14:11, Andy Pugh wrote:

On 18 Aug 2017, at 13:58, Les Newell <les.new...@fastmail.co.uk> 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
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



------------------------------------------------------------------------------
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
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to