Function Entry: VLE-ATOI32

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

Function Entry: VLE-ATOI32

Name

vle-atoi32

Class

BricsCAD VLE Library Function

Syntax

(vle-atoi32 numstr)

Arguments and Values

  • numstr an integer number string

Description

returns the 32 bit integer value of input string; if input value is above 32 bit range (a 64 bit number string) then this is truncated to a 32 bit value, to match the behaviour of other CAD systems using 32 bit integers even in x64 builds

Return Values

always returns a 32 bit integer value

Examples

(vle-atoi32
"2684354560")

returns -1610612736 instead of
2684354560

Notes

this is effective only with Bricscad x64, otherwise it does nothing;

as BricsCAD x64 allows 64 bit integers, there is a minor conflict in compatibility with other CAD systems here;

if a Lisp application needs that incorrect behaviour of other CAD systems, then this function can help as workaround

Availability

  • AutoCAD 2026: not documented.
  • BricsCAD V26: documented.
  • Status: BricsCAD-only.

Source Notes