-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: DocumentationRelated to Arduino's documentation contentRelated to Arduino's documentation contentfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)in progressWork on this item is in progressWork on this item is in progress
Description
As discussed in #4673, it is desirable to encourage the use of the standard bool
type rather than Arduino's boolean
alias. The first step is to document the bool
type in the Arduino reference.
- Create a
bool
reference page. Please don't capitalizebool
in the URL, that was a terrible idea. - Copy the documentation from the
boolean
reference page to thebool
reference page, changing all references to theboolean
type tobool
. - Replace the documentation in the
boolean
reference page with this:
boolean is a non-standard type alias for bool defined by Arduino. It's recommended to instead use the standard type bool, which is identical.
Once this has been done I will submit pull requests to remove the use of boolean
from all official Arduino code and request updates of any other documentation that uses it.
Pharap
Metadata
Metadata
Labels
Component: DocumentationRelated to Arduino's documentation contentRelated to Arduino's documentation contentfeature requestA request to make an enhancement (not a bug fix)A request to make an enhancement (not a bug fix)in progressWork on this item is in progressWork on this item is in progress