Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

flatsize

flatsize

type: function (subr) 
location: built-in
source file: xlfio.c  and  xlprin.c
Common LISP compatible: no
supported on: all machines

SYNTAX

(flatsize  <expr> )
        <expr>          -       an expression

DESCRIPTION

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

EXAMPLES

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


Go to the first, previous, next, last section, table of contents.