XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next

flatc


Type:   -   function (subr)
Source:   -   xlfio.c, xlprin.c

Syntax

(flatc expr)
expr - an expression
returns - the length

Description

The 'flatc' function determines the character length that would be printed if the 'expr' were printed using princ. This means that the 'expr' would be printed without a new-line. If 'expr' is a string, it would not be printed with quotes around the string. The print character length is returned as the result.

Examples

(flatc 1234)          ; returns 4
(flatc '(a b c))      ; returns 7
(flatc "abcd")        ; returns 4
(flatc 'mybigsymbol)  ; returns 11

See the flatc function in the XLISP 2.0 manual.

  Back to Top


XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next