boolean
List of: Scheme Data Types
Subjects: Booleans
Contents: Scheme Support

Description: A boolean is a native Scheme data type having either the value #t (true) or the value #f (false). It represents a logical, or Boolean, value.

Derivation: boolean : scheme-object

C++ Type: logical

External Rep: #t or #f

Example: ; boolean (data type)

; Define and inquire a boolean object.

(define ON #t)

;; ON

(define OFF #f)

;; OFF

(boolean? ON)

;; #t

ON

;; #t

OFF

;; #f
PDF/SCM/09SD.PDF
HTM/DATA/SCM/SCM/09SD/0009.HTM