Function Entry: LOGAND

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: LOGAND

Name

logand

Class

Function

Syntax

(logand [int int ...])

Arguments and Values

  • int: zero or more integers.

Description

Returns the bitwise AND of the supplied integers. With no arguments, returns 0.

Return Values

An integer.

Side Effects

None.

Examples

  • (logand 7 15 3) returns 3.
  • (logand 2 3 15) returns 2.
  • (logand 8 3 4) returns 0.

Availability

  • AutoCAD 2026: documented.
  • BricsCAD V26: presumed compatible.
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.