Difference between revisions of "boolean"

From OpenKore Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
#REDIRECT [[References#Basic_Value_and_Parameter_Types]]
+
== Overview ==
 +
 
 +
Empty string (unset option) or '''0''' means FALSE.
 +
 
 +
'''1''' means TRUE.
 +
 
 +
== Details ==
 +
 
 +
Option values are interpreted with [http://perldoc.perl.org/perlsyn.html#Truth-and-Falsehood Perl's Truth and Falsehood] rules.
 +
 
 +
Boolean options MAY be extended in future. In such a case, values of '''0''' and '''1''' SHOULD preserve the old behaviour, and more values MAY be added.

Revision as of 08:27, 16 August 2012

Overview

Empty string (unset option) or 0 means FALSE.

1 means TRUE.

Details

Option values are interpreted with Perl's Truth and Falsehood rules.

Boolean options MAY be extended in future. In such a case, values of 0 and 1 SHOULD preserve the old behaviour, and more values MAY be added.