I have a webpage that displays a half dozen boolean logic results.
All these booleans are defined identically and setup with an initial
value of 'false' or 'true.'
When the values are displayed on the webpage some have a value of '0' or '1'
and some show a value of 'True' or 'False.'
Is this difference because some of the values have not yet been acted upon by the code
and at that point will change over?
A bool variable is a bool variable. How it's displayed will depend completely on the html code for the web page and the C++ code that sends it to the browser client.
Possibly. If your code stores the boolean logic results in String or char arrays, then they could contain "0", "1", "True" or "False". If the parts of the code that stores these is not consistent, then the same variable could contain "0" or "1" at one time and later "True" or "False".
If your code stores the boolean logic results in bool variables, then they can only be false (==0) or true (!=0) and it must the inconsistencies in how those values are printed to the html web page that result in the different representations you see.
In summary, it depends on your code, it's something peculiar about your code. It's not something normal, natural or expected.
Thank you sir. Your explanation was informative. I am not going to apply much time in figuring out the specifics of why it's displaying the way it is if the code is functioning according to my intent. I am just using these temporarily for a reference to make sure my logic results are in line with my control objectives.