    Contents  Index  Topic Contents
    Previous Topic: DAStatic Functions Relevant to DABehavior Objects
    Next Topic: DAStatic Properties Relevant to DABoolean Objects

> ## DAStatic Functions Relevant to DABoolean Objects

> ###

> And

> DAStatics Class

> Creates a DABoolean that represents the logical AND of the given objects. The object's value is TRUE when both b1 and b2 are TRUE; otherwise, it is FALSE.

> lib.And(
> b1,
> b2
> )

> ##### Parameters

> b1 and b2
>   The DABoolean objects to logically AND.

> ##### Return Values

> Returns the DABoolean object.

> ##### See Also

> Or, Not

> ###

> DABoolean

> DAStatics Class

> Converts a boolean to a DABoolean object. The only time DABoolean is used is when converting boolean values to their corresponding DABoolean objects.

> lib.DABoolean

> ##### Parameters

> bool
>   The boolean to be converted.

> ##### Return Values

> Returns the DABoolean object.

> ###

> KeyState

> DAStatics Class

> Creates a DABoolean object that describes whether the key is up or down.

> lib.KeyState(
> keyCode
> )

> ##### Parameters

> keyCode
>   A DANumber representing a keycode.

> ##### Return Values

> Returns the DABoolean object. The value is TRUE when the key is down and FALSE when the key is up.

> ###

> Not

> DAStatics Class

> Creates a DABoolean object that represents the logical NOT of b. The object's value is TRUE when b is FALSE; otherwise, it is FALSE.

> lib.Not(
> b
> )

> ##### Parameters

> b
>   The DABoolean object that is negated.

> ##### Return Values

> Returns the DABoolean object.

> ##### See Also

> And , Or

> ###

> Or

> DAStatics Class

> Creates a DABoolean that represents the logical OR of the given behaviors. The object's value is TRUE when either b1 or b2 is TRUE; otherwise it is FALSE.

> lib.Or(
> b1,
> b2
> )

> ##### Parameters

> b1 and b2
>   The DABoolean objects to be logically OR'd.

> ##### Return Values

> Returns the DABoolean object.

> ##### See Also

> And, Not

> © 1998 Microsoft Corporation. All rights reserved. Terms of Use.

> Top of Page