I remember in a Visual Basic 6 training session that the instructor told us that True was equal to -1 and False was equal to 0.

I thought this was an odd choice at the time. Traditionally True in most languages is equal to 1, but at the time it just felt like one more silly thing that MS did because they could.

The instructor later tried to interface with some C code and was puzzled because the C code returned 1 and True didn't equal 1.

The only other time I've had that kind of WTF moment was with JavaScript.

Sign in to participate in the conversation
Board Games Social

Join others in a free (libre!) and user supported social network for board gamers and the games they love.