Function Entry: ~
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: ~
Name
~
Class
Function
Syntax
(~ int)
Arguments and Values
int: a positive or negative integer.
Description
Returns the bitwise NOT (one's complement) of int.
Return Values
An integer.
Side Effects
None.
Examples
(~ 3)returns-4.(~ 100)returns-101.(~ -4)returns3.
Availability
- AutoCAD 2026: documented.
- BricsCAD V26: presumed compatible.
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [~ (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-98811E38-FCA8-4ADB-858C-60C3828D7DB4.htm)
- Status: documented (Phase 3 body fill).