Search found 1 match

by Pete (NZ)
Thu Sep 16, 2021 7:52 am
Forum: General Discussion and Questions
Topic: Use const() for booleans?
Replies: 1
Views: 2310

Use const() for booleans?

A newbie Q here (first post!)... :) ... The docs say... The argument to const() may be anything which, at compile time, evaluates to an integer e.g. 0x100 or 1 << 8. It can even include other const symbols that have already been defined, e.g. 1 << BIT. Sure, a boolean can be represented by an intege...