For the number of elements in an array, you can use:
./include/macros.h:#define DIM( x ) unsigned( sizeof(x) /
sizeof( (x)[0] ) )which is more consistent in the KiCad source code. Best Regards, Brian. _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

