Im confused so the exact definitions in Basic4ppc of
true
True
false
False
Can anyone tell me?
true and True are the same as are False and false.
"true" and "True" are not the same, neither are "false" and "False"
var = True actually sets a variable to the string value "true"
var = False actually sets a variable to the string value "false"
Because they are not quoted strings but are reserved keywords B4PPC treats them as a special case and lower-cases them if they are not already.
var = "true" achieves the same as var = true but var = "True" is NOT the same as in this case "True" is a quoted string and is assigned unchanged.
B4PPC conditional equality checks for true and false appear to be actually string comparisons against "true" and "false".
All this is because of the weak typing implemented in B4PPC.