t

Gamma: Version 4.0
Prev |  | Next

# `t`

t -- a logically true value.

## Syntax

    t

## Returns

`t`

## Description

The special object, t, is a logically true value which has no other meaning. All Gamma objects other than nil are logically true, but only the special object t is the logical negation of nil. t is created by a call to not(nil), or by reading the symbol t.

The predicate `true_p` explicitly tests for the value t. However, in all conditional statements, any non-nil value is considered to be true for the purpose of the test.

## Example

        Gamma> x = 3;
        3
        Gamma> x > 2;
        t
        Gamma> x == 3;
        t
        Gamma> !nil;
        t
        Gamma> 10 < 25;
        t
        Gamma>

Prev | Home | Next
gamma, phgamma | Up | Operators

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.