Context: https://learn.microsoft.com/en-us/dotnet/api/microsoft.office.core.msotristate
Note that there are actually 5 values, not three. Also True is -1, and the value that equals 1 isn't supported.
@leeloo BASIC simply didn't distinguish between logical and bitwise operators; as a side effect, there is no short-circuiting of logical expressions
Visual Basic 5 was one of my starter languages and in retrospect, I understand why Dijkstra hated BASIC so much that he considered programming students with previous exposure to the language damaged beyond healing: it teaches you all sorts of wrong lessons on what's possible in programming and how to achieve it. The one serious Visual Basic book, Hardcore Visual Basic, was mostly about how to implement bog standard computer science concepts in a language that was completely hostile to... programming. If I remember correctly, among other things it explained the concept of short-circuiting logical expressions, and how to implement them manually