Version 2 of Boolean

Updated 2006-08-04 14:43:58 by NEM

True or False. Tcl has no separate Boolean type, like in C, the integers 0 (false) and 1 (true - in fact any nonzero integer) are used.

NEM: Although expr will also accept "true" and "false" (and "yes"/"no"..) as Boolean values.

See Boolean Logic or Integers as Boolean Functions.


[ Category Glossary ]