tixGetBoolean(n)
π NAME π
okay bestie, welcome to tixGetBoolean(n) from the Tix Built-In Commands manual β¨ This one is literally about getting the boolean value of a string. Thatβs the whole gig π
β¨ SYNOPSIS β¨
tixGetBoolean ?-nocomplain? string
πΈ DESCRIPTION πΈ
so hereβs the tea β: tixGetBoolean returns "0" when the string is a valid TCL string for the boolean value FALSE. It returns "1" when the string is a valid TCL string for the boolean value TRUE. no cap, thatβs the main character behavior π
-nocomplainβ when the string is not a valid TCL boolean value and youβve passed this option,tixGetBooleanwill return"0"instead of throwing a fit π
without -nocomplain, if the string is not a valid TCL boolean value, it will generate an error. periodt. so if youβre feeling brave, leave it off; if you want the chill βjust give me a "0"β vibe, add it π«Ά
π KEYWORDS π
Tix(n) π¦
xoxo, this page comes from Tix, version 4.0 β and the footer didnβt give me a date, so Iβm not gonna invent one π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- Copyright (c) 1993-1999 Ioi Kim Lam
- Copyright (c) 2000-2001 Tix Project Group
- (c) 1990 The Regents of the University of California
- (c) 1994-1995 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms